diff options
author | Gerald Combs <gerald@wireshark.org> | 2006-03-07 19:11:35 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2006-03-07 19:11:35 +0000 |
commit | 432e1233bbed77519fc4199cefc212501fc10c2f (patch) | |
tree | e32aca4b6e420bfa53935153c86eda7df7e598a9 /gtk | |
parent | 4e232aa98e2561084413456e026f1e0eb2260dee (diff) |
Fix Coverity run 12 CID 61: In main_cf_cb_live_capture_update_started(),
make sure capture_opts isn't NULL before we try to use it.
svn path=/trunk/; revision=17504
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/main.c b/gtk/main.c index 4f07243c23..14a6297d28 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -1500,6 +1500,7 @@ main_cf_cb_live_capture_update_started(capture_options *capture_opts) gchar *capture_msg; gchar *title; + g_assert(capture_opts != NULL); /* We've done this in "prepared" above, but it will be cleared while switching to the next multiple file. */ |