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);
|
ficlSetEnv(pSys, "file-ext", FICL_TRUE);
|
||||||
#endif /* FICL_HAVE_FTRUNCATE */
|
#endif /* FICL_HAVE_FTRUNCATE */
|
||||||
#else
|
#else
|
||||||
&pSys;
|
(void)pSys;
|
||||||
#endif /* FICL_WANT_FILE */
|
#endif /* FICL_WANT_FILE */
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#if !defined IGNORE /* Macro to silence unused param warnings */
|
#if !defined IGNORE /* Macro to silence unused param warnings */
|
||||||
#define IGNORE(x) &x
|
#define IGNORE(x) (void)x
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -405,7 +405,7 @@ void *ficlRealloc(void *p, size_t size);
|
|||||||
#if FICL_MULTITHREAD
|
#if FICL_MULTITHREAD
|
||||||
int ficlLockDictionary(short fLock);
|
int ficlLockDictionary(short fLock);
|
||||||
#else
|
#else
|
||||||
#define ficlLockDictionary(x) 0 /* ignore */
|
#define ficlLockDictionary(x) /* ignore */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user