Fix clang warnings.

This commit is contained in:
Rui Paulo 2012-02-05 20:00:39 +00:00
parent bc890e542e
commit 3da8dada52
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231042
2 changed files with 3 additions and 3 deletions

View File

@ -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 */
}

View File

@ -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
/*