Useless Assignment at editcap.c:1282 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
find_dct2000_real_data (/home/sate/Testcases/c/cve/wireshark-1.2.0/editcap.c)![]() | ||||||
![]() | ||||||
1278 | static int find_dct2000_real_data(guint8 *buf) | |||||
1279 | { | |||||
1280 | int n=0; | |||||
1281 | ||||||
1282 | for (n=0; buf[n] != '\0'; n++); /* Context name */
| |||||
1283 | n++; | |||||
1284 | n++; /* Context port number */ | |||||
1285 | for (; buf[n] != '\0'; n++); /* Timestamp */ | |||||
1286 | n++; | |||||
1287 | for (; buf[n] != '\0'; n++); /* Protocol name */ | |||||
1288 | n++; | |||||
1289 | for (; buf[n] != '\0'; n++); /* Variant number (as string) */ | |||||
1290 | n++; | |||||
1291 | for (; buf[n] != '\0'; n++); /* Outhdr (as string) */ | |||||
1292 | n++; | |||||
1293 | n += 2; /* Direction & encap */ | |||||
1294 | ||||||
1295 | return n; | |||||
1296 | } | |||||
![]() |