(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/giop/packet-parlay.c) |
| |
| 40037 | | | static void decode_org_csapi_mm_ul_IpUserLocation_getNextPeriodicLocationRequest(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int *offset _U_, *, gchar *operation _U_) { |
| 40038 | | | |
| 40039 | | | gboolean stream_is_big_endian; |
| 40040 | | | |
| 40041 | | | |
| 40042 | | | |
| 40043 | | | |
| 40044 | | | guint8 u_octet1; |
| 40045 | | | |
| 40046 | | | |
| 40047 | | | |
| 40048 | | | 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. |
|
| 40049 | | | |
| 40050 | | | switch(->message_type) { |
| 40051 | | | |
| 40052 | | | case Request: |
| 40053 | | | |
| 40054 | | | u_octet1 = get_CDR_boolean(tvb,offset); |
| 40055 | | | if (tree) { |
| 40056 | | | proto_tree_add_text(tree,tvb,*offset-1,1,"reset = %u",u_octet1); |
| 40057 | | | } |
| 40058 | | | |
| 40059 | | | break; |
| 40060 | | | |
| 40061 | | | case Reply: |
| 40062 | | | |
| 40063 | | | switch(->rep_status) { |
| 40064 | | | |
| 40065 | | | case NO_EXCEPTION: |
| 40066 | | | |
| 40067 | | | |
| 40068 | | | |
| 40069 | | | |
| 40070 | | | |
| 40071 | | | decode_org_csapi_mm_TpPeriodicLocationRequestSetEntry_st(tvb, pinfo, tree, offset, , operation); |
| 40072 | | | |
| 40073 | | | |
| 40074 | | | |
| 40075 | | | break; |
| 40076 | | | |
| 40077 | | | case USER_EXCEPTION: |
| 40078 | | | |
| 40079 | | | break; |
| 40080 | | | |
| 40081 | | | default: |
| 40082 | | | |
| 40083 | | | |
| 40084 | | | |
| 40085 | | | 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__) |
| |
|
| 40086 | | | |
| 40087 | | | break; |
| 40088 | | | |
| 40089 | | | |
| 40090 | | | } |
| 40091 | | | |
| 40092 | | | break; |
| 40093 | | | |
| 40094 | | | default: |
| 40095 | | | |
| 40096 | | | |
| 40097 | | | |
| 40098 | | | 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__) |
| |
|
| 40099 | | | |
| 40100 | | | break; |
| 40101 | | | |
| 40102 | | | } |
| 40103 | | | |
| 40104 | | | } |
| |