Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at packet-cosnaming.c:1228

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

decode_CosNaming_BindingIterator_next_one

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/giop/packet-cosnaming.c)expand/collapse
Show more  
 1216  static void decode_CosNaming_BindingIterator_next_one(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int *offset _U_, MessageHeader *header, gchar *operation _U_) {
 1217   
 1218      gboolean stream_is_big_endian;          /* big endianess */
 1219   
 1220       
 1221      /* Operation specific Variable declarations Begin */
 1222   
 1223      guint8    u_octet1;
 1224       
 1225      /* Operation specific Variable declarations End */
 1226   
 1227       
 1228      stream_is_big_endian = is_big_endian(header);
 1229   
 1230      switch(header->message_type) {
 1231   
 1232      case Request:
 1233   
 1234          break;
 1235   
 1236      case Reply:
 1237   
 1238          switch(header->rep_status) {
 1239   
 1240          case NO_EXCEPTION:
 1241   
 1242              u_octet1 = get_CDR_boolean(tvb,offset);
 1243              if (tree) {
 1244                 proto_tree_add_text(tree,tvb,*offset-1,1,"Operation_Return_Value = %u",u_octet1);
 1245              }
 1246   
 1247              /*  Begin struct "CosNaming_Binding"  */
 1248   
 1249               
 1250   
 1251              decode_CosNaming_Binding_st(tvb, pinfo, tree, offset, header, operation);
 1252   
 1253   
 1254              /*  End struct "CosNaming_Binding"  */
 1255   
 1256              break;
 1257   
 1258          case USER_EXCEPTION:
 1259   
 1260              break;
 1261   
 1262          default:
 1263   
 1264              /* Unknown Exception */
 1265   
 1266              g_warning("Unknown Exception ");
 1267   
 1268   
 1269   
 1270              break;
 1271   
 1272           
 1273          }   /* switch(header->message_type) */
 1274   
 1275          break;
 1276   
 1277      default:
 1278   
 1279          /* Unknown GIOP Message */
 1280   
 1281          g_warning("Unknown GIOP Message");
 1282   
 1283   
 1284          break;
 1285   
 1286       
 1287      } /* switch(header->message_type) */
 1288   
 1289  }
Show more  




Change Warning 3613.31840 : Unused Value

Priority:
State:
Finding:
Owner:
Note: