Fix clang warnings.
This commit is contained in:
parent
bc890e542e
commit
3da8dada52
@ -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 */
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user