diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-12-18 19:24:34 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-12-18 19:24:34 +0000 |
commit | a7b7e98cb157bfd6d362dc778687959c8f942bda (patch) | |
tree | a301b915e0508c04be7956a211d1242aebf7efdd /capinfos.c | |
parent | c544c209561e2661d014eac1b3f7a2a6a67af636 (diff) | |
download | wireshark-a7b7e98cb157bfd6d362dc778687959c8f942bda.tar.gz wireshark-a7b7e98cb157bfd6d362dc778687959c8f942bda.tar.bz2 wireshark-a7b7e98cb157bfd6d362dc778687959c8f942bda.zip |
Only declare failure_message() if we HAVE_PLUGINS (since it's only used when that's the case).
svn path=/trunk/; revision=27051
Diffstat (limited to 'capinfos.c')
-rw-r--r-- | capinfos.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/capinfos.c b/capinfos.c index 66b0b19671..5941fffa87 100644 --- a/capinfos.c +++ b/capinfos.c @@ -267,6 +267,7 @@ usage(gboolean is_error) fprintf(output, "If no options are given, default is to display all infos\n"); } +#ifdef HAVE_PLUGINS /* * Don't report failures to load plugins because most (non-wiretap) plugins * *should* fail to load (because we're not linked against libwireshark and @@ -277,6 +278,7 @@ failure_message(const char *msg_format _U_, va_list ap _U_) { return; } +#endif int |