summaryrefslogtreecommitdiffstats
path: root/src/vty/buffer.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-02-23 17:19:35 +0700
committerHarald Welte <laforge@gnumonks.org>2019-03-19 13:44:58 +0000
commit54f5f4da5978662524d9a9aa106afb4a92710eb1 (patch)
tree9b524531c8f359746f5ffc1fa37a437c81230098 /src/vty/buffer.c
parent1261db15058cfa94615f26c1083bb8a38d09218b (diff)
vty/tdef_vty.c: drop redundant comparison
The amount of arguments is already being checked a few lines before: /* If any arguments are missing, redirect to 'show' */ if (argc < 3) return show_timer(self, vty, argc, argv); so we cannot reach the expression NULL inside this statement: group_arg = argc > 0 ? argv[0] : NULL; Change-Id: Ice59d1a46c2080cd02060e3410706c502db4ce0b Fixes: CID#190873 Logically dead code (DEADCODE)
Diffstat (limited to 'src/vty/buffer.c')
0 files changed, 0 insertions, 0 deletions