aboutsummaryrefslogtreecommitdiff
path: root/jim.h
diff options
context:
space:
mode:
authorantirez <antirez>2005-03-04 11:54:51 +0000
committerantirez <antirez>2005-03-04 11:54:51 +0000
commitb503c0ce39965cb68fe8bbdee4f4fffe8c39b81f (patch)
tree639987e1dd074b6651f934838ea5583382c9cbb9 /jim.h
parent71b54a34aefa47861f9d82102f898a3dc18ba798 (diff)
downloadjimtcl-b503c0ce39965cb68fe8bbdee4f4fffe8c39b81f.zip
jimtcl-b503c0ce39965cb68fe8bbdee4f4fffe8c39b81f.tar.gz
jimtcl-b503c0ce39965cb68fe8bbdee4f4fffe8c39b81f.tar.bz2
Added JIM_NOTUSED macro. Macro used where appropriate.
Diffstat (limited to 'jim.h')
-rw-r--r--jim.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/jim.h b/jim.h
index dde4bd8..8c9aabb 100644
--- a/jim.h
+++ b/jim.h
@@ -121,6 +121,9 @@
#define JIM_SUBST_NOCMD 2 /* don't perform command substitutions */
#define JIM_SUBST_NOESC 4 /* don't perform escapes substitutions */
+/* Unused arguments generate annoying warnings... */
+#define JIM_NOTUSED(V) ((void) V)
+
/* -----------------------------------------------------------------------------
* Hash table
* ---------------------------------------------------------------------------*/