Unused Value at packet-cosnaming.c:1406 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
decode_CosNaming_BindingIterator_destroy (/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/giop/packet-cosnaming.c)![]() | ||||||
![]() | ||||||
1395 | static void decode_CosNaming_BindingIterator_destroy(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int *offset _U_, MessageHeader *header, gchar *operation _U_) { | |||||
1396 | ||||||
1397 | gboolean stream_is_big_endian; /* big endianess */ | |||||
1398 | ||||||
1399 | ||||||
1400 | /* Operation specific Variable declarations Begin */ | |||||
1401 | ||||||
1402 | ||||||
1403 | /* Operation specific Variable declarations End */ | |||||
1404 | ||||||
1405 | ||||||
1406 | stream_is_big_endian = is_big_endian(header);
| |||||
1407 | ||||||
1408 | switch(header-> ) { | |||||
1409 | ||||||
1410 | case Request: | |||||
1411 | ||||||
1412 | break; | |||||
1413 | ||||||
1414 | case Reply: | |||||
1415 | ||||||
1416 | switch(header->rep_status) { | |||||
1417 | ||||||
1418 | case NO_EXCEPTION: | |||||
1419 | ||||||
1420 | ||||||
1421 | /* Function returns void */ | |||||
1422 | ||||||
1423 | ||||||
1424 | break; | |||||
1425 | ||||||
1426 | case USER_EXCEPTION: | |||||
1427 | ||||||
1428 | break; | |||||
1429 | ||||||
1430 | default: | |||||
1431 | ||||||
1432 | /* Unknown Exception */ | |||||
1433 | ||||||
1434 | g_warning("Unknown Exception "); | |||||
1435 | ||||||
1436 | ||||||
1437 | ||||||
1438 | break; | |||||
1439 | ||||||
1440 | ||||||
1441 | } /* switch(header-> ) */ | |||||
1442 | ||||||
1443 | break; | |||||
1444 | ||||||
1445 | default: | |||||
1446 | ||||||
1447 | /* Unknown GIOP Message */ | |||||
1448 | ||||||
1449 | g_warning("Unknown GIOP Message"); | |||||
1450 | ||||||
1451 | ||||||
1452 | break; | |||||
1453 | ||||||
1454 | ||||||
1455 | } /* switch(header-> ) */ | |||||
1456 | ||||||
1457 | } | |||||
![]() |