summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-05-22 17:23:28 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-05-22 17:23:28 +0200
commite89ae2e7b18ba935d7eea4c44f3ec15ff6dcfb31 (patch)
treed529df9aabfcf79aa07625415c984181679f354d
parent0fa5486a4ace7a9be82b37979cf4693aff237340 (diff)
downloadrsyslog-e89ae2e7b18ba935d7eea4c44f3ec15ff6dcfb31.tar.gz
rsyslog-e89ae2e7b18ba935d7eea4c44f3ec15ff6dcfb31.tar.xz
rsyslog-e89ae2e7b18ba935d7eea4c44f3ec15ff6dcfb31.zip
minor cleanup: remove compiler warning
-rw-r--r--runtime/obj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/obj.h b/runtime/obj.h
index dc04203b..98bd4854 100644
--- a/runtime/obj.h
+++ b/runtime/obj.h
@@ -68,7 +68,7 @@
#define objSerializePTR(strm, propName, propType) \
CHKiRet(obj.SerializeProp(strm, (uchar*) #propName, PROPTYPE_##propType, (void*) pThis->propName));
#define DEFobjStaticHelpers \
- static objInfo_t *pObjInfoOBJ = NULL; \
+ static __attribute__((unused)) objInfo_t *pObjInfoOBJ = NULL; \
DEFobjCurrIf(obj)