Skip to content

Commit abd2e52

Browse files
flichtenheldcron2
authored andcommitted
Fix compiler warning in reliable.c with --disable-debug
Use the easy way out. Using pre-compiler to completely avoid n_active seems like overkill. Change-Id: Icad1a52d14311a6f06bda081cab2f4bded8d47ed Signed-off-by: Frank Lichtenheld <[email protected]> Acked-by: Arne Schwabe <[email protected]> Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg32107.html Signed-off-by: Gert Doering <[email protected]> (cherry picked from commit fcd8f0f)
1 parent 5c968a3 commit abd2e52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/openvpn/reliable.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,7 @@ reliable_can_send(const struct reliable *rel)
649649
}
650650
}
651651
}
652+
(void)n_active; /* dmsg might not generate code */
652653
dmsg(D_REL_DEBUG, "ACK reliable_can_send active=%d current=%d : %s",
653654
n_active,
654655
n_current,

0 commit comments

Comments
 (0)