forked from osmocom/wireshark
Only declare failure_message() if we HAVE_PLUGINS (since it's only used when that's the case).
svn path=/trunk/; revision=27051daniel/osmux
parent
c544c20956
commit
a7b7e98cb1
|
@ -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
|
||||
|
|
|
@ -372,6 +372,7 @@ list_encap_types(void) {
|
|||
}
|
||||
}
|
||||
|
||||
#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
|
||||
|
@ -382,6 +383,7 @@ failure_message(const char *msg_format _U_, va_list ap _U_)
|
|||
{
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
|
|
Loading…
Reference in New Issue