diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1998-10-13 07:03:37 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1998-10-13 07:03:37 +0000 |
commit | ff5d6349732bae1dcd5feddba8a0763031aacbcf (patch) | |
tree | 1bcdb1dc35bf75e65d5d8a1587d105e74a4cfc1e /filter.c | |
parent | 97902ca2a97f173c3ab0c8ae9fb3f14b994c19e0 (diff) |
Squelch a number of "-Wall" errors by:
1) renaming "snprintf.h" to "snprintf-imp.h" (it contains stuff
used by the "snprintf()" *implementation*, but not stuff it
*exports*);
2) creating a new "snprintf.h" to declare "vsnprintf()" and
"snprintf()";
3) removing an unused variable;
4) fixing a call to "add_item_to_tree()" to handle the
possibility of "ntohl()" returning a "long" rather than an
"int".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@47 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'filter.c')
-rw-r--r-- | filter.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* filter.c * Routines for managing filter sets * - * $Id: filter.c,v 1.6 1998/10/13 02:10:55 gerald Exp $ + * $Id: filter.c,v 1.7 1998/10/13 07:03:33 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -429,8 +429,7 @@ filter_prefs_save(GtkWidget *w) { void filter_prefs_cancel(GtkWidget *w) { - filter_def *filt; - + /* Let the list cb know we're about to destroy the widget tree, so it */ /* doesn't operate on widgets that don't exist. */ gtk_object_set_data(GTK_OBJECT(w), E_FILT_CM_KEY, (gpointer)TRUE); |