]> The Tcpdump Group git mirrors - tcpdump/commit
RX: Fix 168 warnings as "declaration of 'x' shadows a previous local"
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 12 Jul 2015 12:51:04 +0000 (14:51 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Sun, 12 Jul 2015 12:53:40 +0000 (14:53 +0200)
commit1f056312b4b8164b490f6fa7b0ca20edefb7b15e
treed7887523214261f117beaf1bf060654d541e2b65
parentc0ab3c4183d4fb0c3c89d2ef14df9397abdbc74a
RX: Fix 168 warnings as "declaration of 'x' shadows a previous local"

An example of these warnings is:
./print-rx.c: In function 'fs_print':
./print-rx.c:774:35: warning: declaration of 'i' shadows a previous local [-Wshadow]
 #define UINTOUT() { unsigned long i; \
                                   ^
./print-rx.c:916:4: note: in expansion of macro 'UINTOUT'
    UINTOUT();
    ^
./print-rx.c:883:16: warning: shadowed declaration is here [-Wshadow]
  unsigned long i;
                ^
print-rx.c