Unreachable Control Flow at dfvm.c:577 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
dfvm_init_const (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dfilter/dfvm.c)![]() | ||||||
![]() | ||||||
538 | dfvm_init_const(dfilter_t *df) | |||||
539 | { | |||||
540 | int id, length; | |||||
541 | dfvm_insn_t *insn; | |||||
542 | dfvm_value_t *arg1; | |||||
543 | dfvm_value_t *arg2; | |||||
544 | ||||||
545 | length = df->consts->len; | |||||
546 | ||||||
547 | for (id = 0; id < length; id++) { | |||||
548 | ||||||
549 | insn = g_ptr_array_index(df->consts, id); | |||||
550 | arg1 = insn->arg1; | |||||
551 | arg2 = insn->arg2; | |||||
552 | ||||||
553 | switch (insn->op) { | |||||
554 | case PUT_FVALUE: | |||||
555 | put_fvalue(df, | |||||
556 | arg1->value.fvalue, arg2->value.numeric); | |||||
557 | break; | |||||
558 | case CHECK_EXISTS: | |||||
559 | case READ_TREE: | |||||
560 | case CALL_FUNCTION: | |||||
561 | case MK_RANGE: | |||||
562 | case ANY_EQ: | |||||
563 | case ANY_NE: | |||||
564 | case ANY_GT: | |||||
565 | case ANY_GE: | |||||
566 | case ANY_LT: | |||||
567 | case ANY_LE: | |||||
568 | case ANY_BITWISE_AND: | |||||
569 | case ANY_CONTAINS: | |||||
570 | case ANY_MATCHES: | |||||
571 | case NOT: | |||||
572 | case RETURN: | |||||
573 | case IF_TRUE_GOTO: | |||||
574 | case IF_FALSE_GOTO: | |||||
575 | default: | |||||
576 | g_assert_not_reached(); | |||||
577 | break;
| |||||
578 | } | |||||
579 | } | |||||
580 | ||||||
581 | return; | |||||
582 | } | |||||
![]() |