URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=590d0a483e58abb8d2a88c83fe7ad3ac690fb9cc
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
590d0a4 by Guy Harris (guy@xxxxxxxxxxxx):
Declare lead_surrogate only in the block where it's used.
That makes it a bit clearer that we don't need to initialize it to zero
before the loop.
This fixes a Dead Store (Dead assignement/Dead increment) Warning found
by Clang.
Change-Id: Iabfc4b47a3c6300814492c37ccfb321afd0c54ea
Reviewed-on: https://code.wireshark.org/review/28374
Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from edc2beb Include <stdlib.h>, to declare exit().
adds 590d0a4 Declare lead_surrogate only in the block where it's used.
Summary of changes:
wiretap/netmon.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)