Useless Assignment at packet-asn1.c:4235 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
PDUreset (/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/asn1/packet-asn1.c)![]() | ||||||
![]() | ||||||
4216 | PDUreset(int count, int count2) | |||||
4217 | { | |||||
4218 | statestack pos; | |||||
4219 | ||||||
4220 | if (asn1_verbose) ("PDUreset %d-%d", count, count2); | |||||
4221 | ||||||
4222 | PDUstatec = 0; /* stackpointer */ | |||||
4223 | PDUerrcount = 0; /* error counter per asn.1 */ | |||||
4224 | ||||||
4225 | pos.node = NULL; /* sentinel */ | |||||
4226 | pos.name = "sentinel"; | |||||
4227 | pos.type = TBL_SEQUENCEOF; | |||||
4228 | pos.offset = 0; | |||||
4229 | PUSHNODE(pos); | |||||
4230 | ||||||
4231 | if (PDUtree) { | |||||
4232 | pos.node = PDUtree; /* root of the tree */ | |||||
4233 | pos.name = getname(pos.node); | |||||
4234 | pos.type = gettype(pos.node) | TBL_REPEAT; | |||||
4235 | pos.offset = 0;
| |||||
4236 | PUSHNODE(pos); | |||||
4237 | } | |||||
4238 | } | |||||
![]() |