Skip to content

Commit

Permalink
Get rid of unnecessary assignment.
Browse files Browse the repository at this point in the history
checksum isn't used until it's set later.
  • Loading branch information
guyharris committed Nov 30, 2012
1 parent a3a91e9 commit 98d7c93
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions checksum.c
Expand Up @@ -152,8 +152,6 @@ create_osi_cksum (const u_int8_t *pptr, int checksum_offset, int length)
u_int16_t checksum;
int index;

checksum = 0;

c0 = 0;
c1 = 0;

Expand Down

0 comments on commit 98d7c93

Please sign in to comment.