(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/column-utils.c) |
| |
| 968 | | | col_set_cls_time(frame_data *fd, column_info *cinfo, gint col) |
| 969 | | | { |
| 970 | | | switch (timestamp_get_type()) { |
| 971 | | | case TS_ABSOLUTE: |
| 972 | | | col_set_abs_time(fd, cinfo, col); |
| 973 | | | break; |
| 974 | | | |
| 975 | | | case TS_ABSOLUTE_WITH_DATE: |
| 976 | | | col_set_abs_date_time(fd, cinfo, col); |
| 977 | | | break; |
| 978 | | | |
| 979 | | | case TS_RELATIVE: |
| 980 | | | col_set_rel_time(fd, cinfo, col); |
| 981 | | | break; |
| 982 | | | |
| 983 | | | case TS_DELTA: |
| 984 | | | col_set_delta_time(fd, cinfo, col); |
| 985 | | | break; |
| 986 | | | |
| 987 | | | case TS_DELTA_DIS: |
| 988 | | | col_set_delta_time_dis(fd, cinfo, col); |
| 989 | | | break; |
| 990 | | | |
| 991 | | | case TS_EPOCH: |
| 992 | | | col_set_epoch_time(fd, cinfo, col); |
| 993 | | | break; |
| 994 | | | |
| 995 | | | case TS_NOT_SET: |
| 996 | | | |
| 997 | | | g_assert(FALSE);
x /usr/include/glib-2.0/glib/gtestutils.h |
| |
74 | #define g_assert(expr) do { if G_LIKELY (expr) ; else \ |
75 | g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ |
76 | #expr); } while (0) |
| |
x /usr/include/glib-2.0/glib/gmacros.h |
| |
277 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1)) |
| |
x /usr/include/glib-2.0/glib/gmacros.h |
| |
268 | #define _G_BOOLEAN_EXPR(expr) \ |
269 | __extension__ ({ \ |
270 | int _g_boolean_var_; \ |
271 | if (expr) \ |
272 | _g_boolean_var_ = 1; \ |
273 | else \ |
274 | _g_boolean_var_ = 0; \ |
275 | _g_boolean_var_; \ |
276 | }) |
| |
x /usr/include/glib-2.0/glib/gmacros.h |
| |
160 | # define G_STRFUNC ((const char*) (__PRETTY_FUNCTION__)) |
| |
|
| 998 | | | break; |
Unreachable Control Flow
The highlighted code will not execute under any circumstances. This may be because of: |
|
| 999 | | | } |
| 1000 | | | } |
| |