git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81b0681
)
Fix CID 715143: assert that the preference we were looking for was found. It
author
Jeff Morriss
<jeff.morriss.ws@gmail.com>
Fri, 25 Oct 2013 15:00:00 +0000
(15:00 -0000)
committer
Jeff Morriss
<jeff.morriss.ws@gmail.com>
Fri, 25 Oct 2013 15:00:00 +0000
(15:00 -0000)
should be which is why this is an assertion not a NULL check.
svn path=/trunk/; revision=52847
epan/prefs.c
patch
|
blob
|
history
diff --git
a/epan/prefs.c
b/epan/prefs.c
index 4021df3e56b450582b6d74f03dbf1d63d5d166a9..6eab6ac2a27de3d323384188a72c3f1e82481a65 100644
(file)
--- a/
epan/prefs.c
+++ b/
epan/prefs.c
@@
-1538,6
+1538,7
@@
static void column_format_reset_cb(pref_t* pref)
}
col_num_pref = prefs_find_preference(gui_column_module, PRS_COL_NUM);
+ g_assert(col_num_pref != NULL); /* Should never happen */
column_num_reset_cb(col_num_pref);
}