diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-07-19 08:50:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-19 08:50:01 -0400 |
| commit | d1a85fe40d93d31f7f0daf54912a159fcabfaddc (patch) | |
| tree | e947467da69832a04e10e24334e4fbc06285884d /lib/filter.c | |
| parent | 06a5959f10f30740dcdf7d09a9c77f1504fc3328 (diff) | |
| parent | 2e1cc436791c3d2e39af9ffbd8194e9e4abc7795 (diff) | |
Merge pull request #2608 from pacovn/PVS-Studio_dead_code_1
eigrpd lib pimd zebra: dead code (PVS-Studio)
Diffstat (limited to 'lib/filter.c')
| -rw-r--r-- | lib/filter.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/filter.c b/lib/filter.c index 5f391aa767..670c65374a 100644 --- a/lib/filter.c +++ b/lib/filter.c @@ -549,8 +549,7 @@ static int vty_access_list_remark_unset(struct vty *vty, afi_t afi, access->remark = NULL; } - if (access->head == NULL && access->tail == NULL - && access->remark == NULL) + if (access->head == NULL && access->tail == NULL) access_list_delete(access); return CMD_SUCCESS; |
