diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-03-20 10:55:50 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-03-20 10:55:50 +0000 |
commit | 20ccb7b7c5c05e697a8f65a4afbdd7463e6301bd (patch) | |
tree | dd959c7872fb1e10543a2699dd257e36b335b48b /wiretap | |
parent | 3474c43b35ffe76ee8240558f07228eaf6844453 (diff) |
"*p++" doesn't affect what "p" points to; it only affects "p" itself,
and is equivalent to just "p++". If "p" isn't used after that, "*p++"
does nothing whatsoever, and can just be removed.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13818 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/ascend-grammar.y | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/wiretap/ascend-grammar.y b/wiretap/ascend-grammar.y index 50dc36d6cf..74456e31d8 100644 --- a/wiretap/ascend-grammar.y +++ b/wiretap/ascend-grammar.y @@ -484,8 +484,6 @@ parse_ascend(FILE_T fh, guint8 *pd, struct ascend_phdr *phdr, an infinite loop reading a broken trace. */ if (first_hexbyte) *start_of_data = first_hexbyte; - else - *start_of_data++; /* if we got at least some data, return success even if the parser reported an error. This is because the debug header gives the number |