diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-01-21 08:51:01 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-01-21 08:51:01 +0000 |
commit | b39138e19d2ece624fc48d26826cb806b5306b90 (patch) | |
tree | 46ceb02a9071e0642b7d3e63eedc2198cbb22777 /usr.sbin/mrouted | |
parent | 70053377d144188aeb66609898f1b1b7ff25b912 (diff) |
Accommodate gcc's suggestion that assignments used as truth values
should be enclosed in parentheses.
ok deraadt@
Diffstat (limited to 'usr.sbin/mrouted')
-rw-r--r-- | usr.sbin/mrouted/prune.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mrouted/prune.c b/usr.sbin/mrouted/prune.c index f250d22aca8..5d9e71a448e 100644 --- a/usr.sbin/mrouted/prune.c +++ b/usr.sbin/mrouted/prune.c @@ -562,7 +562,7 @@ reset_neighbor_state(vifi_t vifi, u_int32_t addr) g->gt_prsent_timer = 0; g->gt_grftsnt = 0; - while (st = g->gt_srctbl) { + while ((st = g->gt_srctbl)) { g->gt_srctbl = st->st_next; k_del_rg(st->st_origin, g); kroutes--; |