(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/giop/packet-parlay.c) |
| |
| 41435 | | | static void decode_org_csapi_mm_ulc_IpUserLocationCamel_getNextPeriodicLocationRequest(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int *offset _U_, *, gchar *operation _U_) { |
| 41436 | | | |
| 41437 | | | gboolean stream_is_big_endian; |
| 41438 | | | |
| 41439 | | | |
| 41440 | | | |
| 41441 | | | |
| 41442 | | | guint8 u_octet1; |
| 41443 | | | |
| 41444 | | | |
| 41445 | | | |
| 41446 | | | stream_is_big_endian = is_big_endian(); |
Unused Value
The value assigned to stream_is_big_endian is never subsequently used on any execution path. |
|
| 41447 | | | |
| 41448 | | | switch(->message_type) { |
| 41449 | | | |
| 41450 | | | case Request: |
| 41451 | | | |
| 41452 | | | u_octet1 = get_CDR_boolean(tvb,offset); |
| 41453 | | | if (tree) { |
| 41454 | | | proto_tree_add_text(tree,tvb,*offset-1,1,"reset = %u",u_octet1); |
| 41455 | | | } |
| 41456 | | | |
| 41457 | | | break; |
| 41458 | | | |
| 41459 | | | case Reply: |
| 41460 | | | |
| 41461 | | | switch(->rep_status) { |
| 41462 | | | |
| 41463 | | | case NO_EXCEPTION: |
| 41464 | | | |
| 41465 | | | |
| 41466 | | | |
| 41467 | | | |
| 41468 | | | |
| 41469 | | | decode_org_csapi_mm_TpPeriodicLocationRequestSetEntry_st(tvb, pinfo, tree, offset, , operation); |
| 41470 | | | |
| 41471 | | | |
| 41472 | | | |
| 41473 | | | break; |
| 41474 | | | |
| 41475 | | | case USER_EXCEPTION: |
| 41476 | | | |
| 41477 | | | break; |
| 41478 | | | |
| 41479 | | | default: |
| 41480 | | | |
| 41481 | | | |
| 41482 | | | |
| 41483 | | | g_warning("Unknown Exception ");
x /usr/include/glib-2.0/glib/gmessages.h |
| |
153 | #define g_warning(...) g_log (G_LOG_DOMAIN, \ |
154 | G_LOG_LEVEL_WARNING, \ |
155 | __VA_ARGS__) |
| |
|
| 41484 | | | |
| 41485 | | | break; |
| 41486 | | | |
| 41487 | | | |
| 41488 | | | } |
| 41489 | | | |
| 41490 | | | break; |
| 41491 | | | |
| 41492 | | | default: |
| 41493 | | | |
| 41494 | | | |
| 41495 | | | |
| 41496 | | | g_warning("Unknown GIOP Message");
x /usr/include/glib-2.0/glib/gmessages.h |
| |
153 | #define g_warning(...) g_log (G_LOG_DOMAIN, \ |
154 | G_LOG_LEVEL_WARNING, \ |
155 | __VA_ARGS__) |
| |
|
| 41497 | | | |
| 41498 | | | break; |
| 41499 | | | |
| 41500 | | | } |
| 41501 | | | |
| 41502 | | | } |
| |