ref: 1ff21379dfd7d10a832f969e23f529cabe725221
parent: a4f796ae03af2f37b7d265c0aa35f7f5d85b09ae
author: asau <asau@ficl.sf.net>
date: Sun Sep 12 10:13:50 CDT 2010
Ignore code in a canonical way.
--- a/ficl.h
+++ b/ficl.h
@@ -4,7 +4,7 @@
** Author: John Sadler (john_sadler@alum.mit.edu)
** Created: 19 July 1997
** Dedicated to RHS, in loving memory
-** $Id: ficl.h,v 1.23 2010/09/12 12:39:23 asau Exp $
+** $Id: ficl.h,v 1.24 2010/09/12 15:13:50 asau Exp $
********************************************************************
**
** Copyright (c) 1997-2001 John Sadler (john_sadler@alum.mit.edu)
@@ -649,7 +649,7 @@
#if !defined FICL_IGNORE /* Macro to silence unused param warnings */
-#define FICL_IGNORE(x) &x
+#define FICL_IGNORE(x) (void)x
#endif /* !defined FICL_IGNORE */
@@ -1517,7 +1517,7 @@
#if FICL_MULTITHREAD
FICL_PLATFORM_EXTERN int ficlDictionaryLock(ficlDictionary *dictionary, short lockIncrement);
#else
-#define ficlDictionaryLock(dictionary, lock) 0 /* ignore */
+#define ficlDictionaryLock(dictionary, lock) (void)0 /* ignore */
#endif