(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/main_statusbar.c) |
| |
| 136 | | | statusbar_push_field_msg(const gchar *msg) |
| 137 | | | { |
| 138 | | | int i; |
| 139 | | | |
| 140 | | | for (i = STATUS_LEVEL_HELP + 1; i < NUM_STATUS_LEVELS; i++) { |
| 141 | | | if (status_levels[i]) |
| 142 | | | return; |
Unreachable Control Flow
The highlighted code will not execute under any circumstances. This may be because of: |
|
| 143 | | | } |
| 144 | | | status_levels[STATUS_LEVEL_HELP]++; |
| 145 | | | |
| 146 | | | gtk_statusbar_push(GTK_STATUSBAR(info_bar), help_ctx, msg);
x /usr/include/gtk-2.0/gtk/gtkstatusbar.h |
| |
40 | #define GTK_STATUSBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STATUSBAR, GtkStatusbar)) |
| |
x /usr/include/glib-2.0/gobject/gtype.h |
| |
482 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) |
| |
x /usr/include/glib-2.0/gobject/gtype.h |
| |
1678 | # define _G_TYPE_CIC(ip, gt, ct) \ |
1679 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) |
| |
x /usr/include/gtk-2.0/gtk/gtkstatusbar.h |
| |
39 | #define GTK_TYPE_STATUSBAR (gtk_statusbar_get_type ()) |
| |
|
| 147 | | | } |
| |