CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/01/01 01:30:33
Modified files:
usr.sbin/relayd: carp.c
Log message:
relayd: fix dead store and unindent carp_demote_init
Found by scan-build:
carp.c:64:7: warning: Although the value stored to 'c' is used in the
enclosing expression, the value is never actually read from 'c'
[deadcode.DeadSt ores]
64 | if ((c = carp_group_find(group)) == NULL)
Feedback from Crystal Kolipe and tb@, OK tb@
