summaryrefslogtreecommitdiff
path: root/epan/prefs.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-03-23 18:45:21 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-03-23 18:45:21 +0000
commit64cc1b407c6d0cd171d1c2f70277e7939d8b99da (patch)
treec3036afd9d4981dcedbb3b4a32e6db5e33463aac /epan/prefs.c
parent8973617e4b3c1706ba6b0553373d64b09aba9ee9 (diff)
downloadwireshark-64cc1b407c6d0cd171d1c2f70277e7939d8b99da.tar.gz
From Sebastien Tandel:
(Fixing warnings) stripped away some unused variables/parameters + in prefs.c suggestion of parentheses makes gcc happy svn path=/trunk/; revision=21156
Diffstat (limited to 'epan/prefs.c')
-rw-r--r--epan/prefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/prefs.c b/epan/prefs.c
index 2dd47070a1..5386c9366b 100644
--- a/epan/prefs.c
+++ b/epan/prefs.c
@@ -168,7 +168,7 @@ prefs_register_module_or_subtree(module_t *parent, const char *name,
guchar c;
/* this module may have been created as a subtree item previously */
- if(module = find_subtree(parent, title)) {
+ if((module = find_subtree(parent, title))) {
/* the module is currently a subtree */
module->name = name;
module->apply_cb = apply_cb;