(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/tcap-persistentdata.c) |
| |
| 1412 | | | tcaphash_begin_key.dpc_hash = g_str_hash(address_to_str(&pinfo->dst)); |
| 1413 | | | } |
| 1414 | | | tcaphash_begin_key.hashKey=tcaphash_begin_calchash(&tcaphash_begin_key); |
| 1415 | | | |
| 1416 | | | #ifdef DEBUG_TCAPSRT |
| 1417 | | | dbg(11,"Bkey %lx ", tcaphash_begin_key.hashKey); |
| 1418 | | | dbg(51,"PC %s %s ",address_to_str(&pinfo->src), address_to_str(&pinfo->dst)); |
| 1419 | | | dbg(51,"Tid %lx ",tcaphash_begin_key.tid); |
| 1420 | | | #endif |
| 1421 | | | p_tcaphash_begincall = find_tcaphash_begin(&tcaphash_begin_key, pinfo,FALSE); |
| 1422 | | | if(!p_tcaphash_begincall) { |
Empty if Statement
Body of if has no effect. This warning could be triggered if: - the body contains no code, or
- the body is removed by the preprocessor, or
- all the macros used in the body expand to nothing.
|
|
| 1423 | | | #ifdef DEBUG_TCAPSRT |
| 1424 | | | dbg(12,"BnotFound "); |
| 1425 | | | #endif |
| 1426 | | | } |
| 1427 | | | } |
| 1428 | | | if (p_tcaphash_endcall) { |
| 1429 | | | |
| 1430 | | | p_tcaphash_context=p_tcaphash_endcall->context; |
| 1431 | | | } else if (p_tcaphash_begincall) { |
| 1432 | | | |
| |