Skip to content

Commit

Permalink
Bug #461 build warnings (#462)
Browse files Browse the repository at this point in the history
* #461 fix build warning in tcpliveplay
  • Loading branch information
fklassen authored Jan 26, 2018
1 parent 1105ec0 commit f1d652c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/common/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,4 @@ void restore_stdin(void)
#else
fcntl(0, F_SETFL, fcntl(0, F_GETFL) | O_NONBLOCK);
#endif /* FIONBIO */


}
1 change: 0 additions & 1 deletion src/tcpliveplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,6 @@ do_checksum_liveplay(u_int8_t *data, int proto, int len) {
int ip_hl;
volatile int sum = 0; // <-- volatile works around a PPC g++ bug

sum;
ipv4 = NULL;

ipv4 = (ipv4_hdr *)data;
Expand Down

0 comments on commit f1d652c

Please sign in to comment.