(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/follow_stream.c) |
| |
| 81 | | | follow_read_stream(follow_info_t *follow_info, |
| 82 | | | gboolean (*print_line)(char *, size_t, gboolean, void *), |
| 83 | | | void *arg) |
| 84 | | | { |
| 85 | | | switch(follow_info->follow_type) { |
| 86 | | | |
| 87 | | | case FOLLOW_TCP : |
| 88 | | | return follow_read_tcp_stream(follow_info, print_line, arg); |
| 89 | | | |
| 90 | | | case FOLLOW_UDP : |
| 91 | | | return follow_read_udp_stream(follow_info, print_line, arg); |
| 92 | | | |
| 93 | | | case FOLLOW_SSL : |
| 94 | | | return follow_read_ssl_stream(follow_info, print_line, arg); |
| 95 | | | |
| 96 | | | default : |
| 97 | | | g_assert_not_reached();
x /usr/include/glib-2.0/glib/gtestutils.h |
| |
73 | #define g_assert_not_reached() do { g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, NULL); } while (0) |
| |
x /usr/include/glib-2.0/glib/gmacros.h |
| |
160 | # define G_STRFUNC ((const char*) (__PRETTY_FUNCTION__)) |
| |
|
| 98 | | | return 0; |
Unreachable Data Flow
The highlighted code will not execute under any circumstances. This may be because of: |
|
| 99 | | | } |
| 100 | | | } |
| |