Unused Value at packet-camel.c:7181 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
dissect_camel_err (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-camel.c)![]() | ||||||
![]() | ||||||
7164 | dissect_camel_err(tvbuff_t *tvb _U_, packet_info *pinfo, proto_tree *tree _U_) { | |||||
7165 | int offset; | |||||
7166 | rose_ctx_t *rctx; | |||||
7167 | gint32 errcode; | |||||
7168 | /* | |||||
7169 | const camel_err_t *err_ptr; | |||||
7170 | const gchar *p; | |||||
7171 | proto_item *ti; | |||||
7172 | proto_tree *camel_tree; | |||||
7173 | */ | |||||
7174 | offset = 0; | |||||
7175 | rctx = get_rose_ctx(pinfo->private_data); | |||||
7176 | DISSECTOR_ASSERT(rctx); | |||||
7177 | if (rctx->d.pdu != 3) /* returnError */ | |||||
7178 | return offset; | |||||
7179 | if (rctx->d.code != 0) /* local */ | |||||
7180 | return offset; | |||||
7181 | errcode = rctx->d.code_local;
| |||||
7182 | ||||||
7183 | return offset; | |||||
7184 | ||||||
7185 | } | |||||
![]() |