Eliminate dead code from main.c
authorFerenc- <ferenc.gm@gmail.com>
Thu, 18 May 2017 08:58:55 +0000 (10:58 +0200)
committerFerenc Géczi <ferenc.geczi@ericsson.com>
Thu, 18 May 2017 10:21:33 +0000 (12:21 +0200)
commit9d49420d0728ab966dd289e7c91ea5e908147d65
tree275288d4ef4ae9f4178d4155cf557d4584a3aa01
parent760e81dbcfd925ab3e2c3c3d6c5edc81dd6ac3ec
Eliminate dead code from main.c

1. Value stored in 'num' in line 161 was never read
   since it was unconditionally overwritten immediately in 166.

2. Value stored in 'suffix' in line 145 was never read
   since it was overwritten in both branches of 'if(dot_post)'.

3. Value stored in 'req' in line 1157 was never read
   if the branch of the first if statement is taken.
   Storing has been placed int to the second if statement,
   where it is actually used.
src/main.c