summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-01-19 15:41:49 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-01-19 15:41:49 +0100
commitb68af9a016c229259ccb259c33e6598a3a77ea35 (patch)
treebeea9cb5a2fbe52631965fe695e5aad0e462b3d9 /tools
parent46605923a27acdb7a061e0135e977bfac9b8a6c5 (diff)
downloadrsyslog-b68af9a016c229259ccb259c33e6598a3a77ea35.tar.gz
rsyslog-b68af9a016c229259ccb259c33e6598a3a77ea35.tar.xz
rsyslog-b68af9a016c229259ccb259c33e6598a3a77ea35.zip
cosmetic: remove compiler warnings
Diffstat (limited to 'tools')
-rw-r--r--tools/ompipe.c2
-rw-r--r--tools/omusrmsg.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/tools/ompipe.c b/tools/ompipe.c
index 1eb0dbce..3d887e14 100644
--- a/tools/ompipe.c
+++ b/tools/ompipe.c
@@ -78,7 +78,7 @@ typedef struct _instanceData {
typedef struct configSettings_s {
EMPTY_STRUCT
} configSettings_t;
-static configSettings_t cs;
+static configSettings_t __attribute__((unused)) cs;
BEGINinitConfVars /* (re)set config variables to default values */
CODESTARTinitConfVars
diff --git a/tools/omusrmsg.c b/tools/omusrmsg.c
index f8e40594..ee2bc59f 100644
--- a/tools/omusrmsg.c
+++ b/tools/omusrmsg.c
@@ -90,8 +90,7 @@ typedef struct _instanceData {
typedef struct configSettings_s {
EMPTY_STRUCT
} configSettings_t;
-
-static configSettings_t cs;
+static configSettings_t __attribute__((unused)) cs;
/* tables for interfacing with the v6 config system */