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

Change-Id: Ida9f7198d6e3ef7bab5d787883116600019180ec
Reviewed-on: https://code.wireshark.org/review/4963
Reviewed-by: Evan Huus <eapache@gmail.com>