diff options
| author | Hung-Weic Chiu <sppsorrg@gmail.com> | 2017-05-10 02:51:28 +0000 | 
|---|---|---|
| committer | Quentin Young <qlyoung@users.noreply.github.com> | 2017-05-10 15:46:24 -0400 | 
| commit | 4afc1b4d4b88484379a78d794e9eee7374cb8b08 (patch) | |
| tree | 95f8b362fd568833a2773c5685542bd6d6e25e6d /isisd | |
| parent | bb1e60c3a17d7a6168f450d909cf51918e85f7ee (diff) | |
Address the error "Dead assignment" of static analysif
- Refer to https://ci1.netdef.org/browse/FRR-FRR4-44/artifact/shared/static_analysis/index.html
- Remove unused variable
Signed-off-by: Hung-Weic Chiu <sppsorrg@gmail.com>
Diffstat (limited to 'isisd')
| -rw-r--r-- | isisd/isis_pdu.c | 1 | 
1 files changed, 0 insertions, 1 deletions
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c index 5fbf6c194e..a41581ff02 100644 --- a/isisd/isis_pdu.c +++ b/isisd/isis_pdu.c @@ -1458,7 +1458,6 @@ process_lsp (int level, struct isis_circuit *circuit, const u_char *ssnpa)  	      ((level == IS_LEVEL_2) &&  	       (circuit->u.p2p.neighbor->adj_usage == ISIS_ADJ_LEVEL1)))  	    return ISIS_WARNING;	/* Silently discard */ -	  adj = circuit->u.p2p.neighbor;  	}      }  | 
