diff options
author | Ricardo Maraschini <ricardo.maraschini@gmail.com> | 2014-01-22 11:16:49 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-01-22 15:11:57 (GMT) |
commit | 82033b35b162c1b8a64a4b8be36c1c9c87ef9555 (patch) | |
tree | 28bfc863323026699388ee04bb647163c86f5ff5 | |
parent | 42e77f9f51fe1665236cd3c750eec7e86c8650eb (diff) | |
download | monitoring-plugins-82033b35b162c1b8a64a4b8be36c1c9c87ef9555.tar.gz |
plugins/utils.h: avoiding warnings on empty printf statements
while compiling i keep receiving an warning statement as follow:
warning: zero-length gnu_printf format string
using an unorthodox method to remove them
Signed-off-by: Ricardo Maraschini <ricardo.maraschini@gmail.com>
-rw-r--r-- | plugins/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index 3c039a7..8c8c81b 100644 --- a/plugins/utils.h +++ b/plugins/utils.h | |||
@@ -189,7 +189,7 @@ char *fperfdata (const char *, | |||
189 | https://www.monitoring-plugins.org/doc/extra-opts.html\n\ | 189 | https://www.monitoring-plugins.org/doc/extra-opts.html\n\ |
190 | for usage and examples.\n") | 190 | for usage and examples.\n") |
191 | #else | 191 | #else |
192 | #define UT_EXTRA_OPTS "" | 192 | #define UT_EXTRA_OPTS " \b" |
193 | #endif | 193 | #endif |
194 | 194 | ||
195 | #define UT_THRESHOLDS_NOTES _("\ | 195 | #define UT_THRESHOLDS_NOTES _("\ |