Skip to content

Commit

Permalink
pmem: suppress a potential unused parameters warning
Browse files Browse the repository at this point in the history
Reported-by: Jeff Olivier
  • Loading branch information
pbalcer committed Jul 20, 2022
1 parent e9f8db2 commit 9922412
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libpmem/pmem.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2014-2020, Intel Corporation */
/* Copyright 2014-2022, Intel Corporation */

/*
* pmem.h -- internal definitions for libpmem
Expand Down Expand Up @@ -41,6 +41,8 @@ static inline void
pmem_inject_fault_at(enum pmem_allocation_type type, int nth,
const char *at)
{
SUPPRESS_UNUSED(type, nth, at);

abort();
}

Expand Down

0 comments on commit 9922412

Please sign in to comment.