Didn't need to introduce that variable.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 8 Jun 2011 04:49:35 +0000 (04:49 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 8 Jun 2011 04:49:35 +0000 (04:49 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37607 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/prefs_dlg.c

index b82bb59321c2e70ca0945617f5f6518b91690c82..8ddc26c54dc0d7abbe92c5d5f0e7e5ea6f457952 100644 (file)
@@ -926,7 +926,6 @@ pref_check(pref_t *pref, gpointer user_data)
   const char *str_val;
   char *p;
   pref_t **badpref = user_data;
-  unsigned long val;
 
   /* Fetch the value of the preference, and check whether it's valid. */
   switch (pref->type) {