diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2012-02-05 20:00:39 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2012-02-05 20:00:39 +0000 |
commit | ac5dbeb938d63729dd227236f6de4aadd73c0b41 (patch) | |
tree | 7f84099f35a280f0778be85d3c19dec5a7075ffe /sys/boot/ficl | |
parent | d550d4616bee32147f04538030e7fb2fafeb594f (diff) | |
download | FreeBSD-src-ac5dbeb938d63729dd227236f6de4aadd73c0b41.zip FreeBSD-src-ac5dbeb938d63729dd227236f6de4aadd73c0b41.tar.gz |
Fix clang warnings.
Diffstat (limited to 'sys/boot/ficl')
-rw-r--r-- | sys/boot/ficl/fileaccess.c | 2 | ||||
-rw-r--r-- | sys/boot/ficl/i386/sysdep.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/ficl/fileaccess.c b/sys/boot/ficl/fileaccess.c index 686c721..2b981c8 100644 --- a/sys/boot/ficl/fileaccess.c +++ b/sys/boot/ficl/fileaccess.c @@ -420,6 +420,6 @@ void ficlCompileFile(FICL_SYSTEM *pSys) ficlSetEnv(pSys, "file-ext", FICL_TRUE); #endif /* FICL_HAVE_FTRUNCATE */ #else - &pSys; + (void)pSys; #endif /* FICL_WANT_FILE */ } diff --git a/sys/boot/ficl/i386/sysdep.h b/sys/boot/ficl/i386/sysdep.h index e1900e2..94fda20 100644 --- a/sys/boot/ficl/i386/sysdep.h +++ b/sys/boot/ficl/i386/sysdep.h @@ -58,7 +58,7 @@ #include <assert.h> #if !defined IGNORE /* Macro to silence unused param warnings */ -#define IGNORE(x) &x +#define IGNORE(x) (void)x #endif /* @@ -405,7 +405,7 @@ void *ficlRealloc(void *p, size_t size); #if FICL_MULTITHREAD int ficlLockDictionary(short fLock); #else -#define ficlLockDictionary(x) 0 /* ignore */ +#define ficlLockDictionary(x) /* ignore */ #endif /* |