BATMAN: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang

Change-Id: I6cfabc18921397002a2303f3511fa51bf5b41956
Reviewed-on: https://code.wireshark.org/review/5341
Reviewed-by: Michael Mann <mmann78@netscape.net>