diff options
author | Sake Blok <sake@euronet.nl> | 2007-08-31 14:14:17 +0000 |
---|---|---|
committer | Sake Blok <sake@euronet.nl> | 2007-08-31 14:14:17 +0000 |
commit | 27efb95042c2c4a6be7e7927b8391083f6611312 (patch) | |
tree | 5cf4cbba69e1f445b60d835aa3710324fcd5137c /editcap.c | |
parent | 1a8fb7a4595e715b40ce47bc8192a5a0574ab3c3 (diff) | |
download | wireshark-27efb95042c2c4a6be7e7927b8391083f6611312.tar.gz wireshark-27efb95042c2c4a6be7e7927b8391083f6611312.tar.bz2 wireshark-27efb95042c2c4a6be7e7927b8391083f6611312.zip |
This patch fixes the following two errors that appear when
configure is run with "--without-plugins"
cc1: warnings being treated as errors
about_dlg.c: In function ‘about_wireshark_cb’:
about_dlg.c:426: warning: unused variable ‘plugins_page’
make[2]: *** [about_dlg.o] Error 1
editcap.c: In function ‘main’:
editcap.c:663: error: ‘check_ts’ undeclared (first use in this function)
editcap.c:663: error: (Each undeclared identifier is reported only once
editcap.c:663: error: for each function it appears in.)
make[2]: *** [editcap.o] Error 1
svn path=/trunk/; revision=22761
Diffstat (limited to 'editcap.c')
-rw-r--r-- | editcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -385,9 +385,9 @@ int main(int argc, char *argv[]) int split_packet_count = 0; int written_count = 0; char *filename; + gboolean check_ts; #ifdef HAVE_PLUGINS char* init_progfile_dir_error; - gboolean check_ts; /* Register wiretap plugins */ if ((init_progfile_dir_error = init_progfile_dir(argv[0]))) { |