Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at packet-sccpmg.c:178

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

dissect_sccpmg_affected_pc

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-sccpmg.c)expand/collapse
Show more  
 151  dissect_sccpmg_affected_pc(tvbuff_t *tvb, proto_tree *sccpmg_tree)
 152  {
 153          guint8 offset = SCCPMG_AFFECTED_PC_OFFSET;
 154   
 155          if (mtp3_standard == ITU_STANDARD) {
 156                  proto_tree_add_item(sccpmg_tree, hf_sccpmg_affected_itu_pc, tvb,
 157                                      offset, ITU_PC_LENGTH, TRUE);
 158          } else if (mtp3_standard == JAPAN_STANDARD) {
 159                  proto_tree_add_item(sccpmg_tree, hf_sccpmg_affected_japan_pc,
 160                                      tvb, offset, JAPAN_PC_LENGTH, TRUE);
 161          } else /* ANSI_STANDARD and CHINESE_ITU_STANDARD */ {
 162                  int *hf_affected_pc;
 163   
 164                  if (mtp3_standard == ANSI_STANDARD)
 165                  {
 166                          hf_affected_pc = &hf_sccpmg_affected_ansi_pc;
 167                  } else /* CHINESE_ITU_STANDARD */ {
 168                          hf_affected_pc = &hf_sccpmg_affected_chinese_pc;
 169                  }
 170   
 171                  /* create and fill the PC tree */
 172                  dissect_mtp3_3byte_pc(tvb, offset, sccpmg_tree,
 173                                        ett_sccpmg_affected_pc, *hf_affected_pc,
 174                                        hf_sccpmg_affected_pc_network,
 175                                        hf_sccpmg_affected_pc_cluster,
 176                                        hf_sccpmg_affected_pc_member, 0, 0);
 177   
 178                  offset += ANSI_PC_LENGTH;
 179          }
 180  }
Show more  




Change Warning 2942.32092 : Unused Value

Priority:
State:
Finding:
Owner:
Note: