(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/column-utils.c) |
| |
| 1010 | | | col_set_fmt_time(frame_data *fd, column_info *cinfo, gint fmt, gint col) |
| 1011 | | | { |
| 1012 | | | switch (fmt) { |
| 1013 | | | case COL_CLS_TIME: |
| 1014 | | | col_set_cls_time(fd, cinfo, col); |
| 1015 | | | break; |
| 1016 | | | |
| 1017 | | | case COL_ABS_TIME: |
| 1018 | | | col_set_abs_time(fd, cinfo, col); |
| 1019 | | | break; |
| 1020 | | | |
| 1021 | | | case COL_ABS_DATE_TIME: |
| 1022 | | | col_set_abs_date_time(fd, cinfo, col); |
| 1023 | | | break; |
| 1024 | | | |
| 1025 | | | case COL_REL_TIME: |
| 1026 | | | col_set_rel_time(fd, cinfo, col); |
| 1027 | | | break; |
| 1028 | | | |
| 1029 | | | case COL_DELTA_TIME: |
| 1030 | | | col_set_delta_time(fd, cinfo, col); |
| 1031 | | | break; |
| 1032 | | | |
| 1033 | | | case COL_DELTA_TIME_DIS: |
| 1034 | | | col_set_delta_time_dis(fd, cinfo, col); |
| 1035 | | | break; |
| 1036 | | | |
| 1037 | | | case COL_REL_CONV_TIME: |
| 1038 | | | case COL_DELTA_CONV_TIME: |
| 1039 | | | |
| 1040 | | | break; |
| 1041 | | | |
| 1042 | | | default: |
| 1043 | | | 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__)) |
| |
|
| 1044 | | | break; |
Unreachable Control Flow
The highlighted code will not execute under any circumstances. This may be because of: |
|
| 1045 | | | } |
| 1046 | | | } |
| |