Wireshark-commits: [Wireshark-commits] master 09e3c4f: Don't use "index" as a variable name.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=09e3c4f6931a0a3a53f8d0ef3b732f1347b38fe7
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
09e3c4f by Guy Harris (guy@xxxxxxxxxxxx):
Don't use "index" as a variable name.
index() was the old V7 UNIX's name for strchr(); some UN*Xes still
define it, causing compiler warnings. Our API checker also checks for
it; rename the variable to avoid compiler and API checker warnings.
Change-Id: I4994f8b466aada8720ed43455ec8f80ce570728e
Reviewed-on: https://code.wireshark.org/review/33826
Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 7ea940e smb2: dissect netname and compression negotiate contexts
add 09e3c4f Don't use "index" as a variable name.
Summary of changes:
epan/dissectors/packet-wassp.c | 368 ++++++++++++++++++++---------------------
1 file changed, 184 insertions(+), 184 deletions(-)