Snippets for screen 5.0.2 from FreeBSD 150arm64
Sourced from https://pkg-status.freebsd.org/ampere5/data/latest-per-pkg/screen/5.0.2_1/150arm64-default.log.
-
display.c:362:11: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare] 362 | SetFlow(FLOW_ON); | ^ -
display.c:955:10: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare] 955 | SetFlow(FLOW_ON); | ^ -
misc.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | SessionCreationTime(fifo) | ^ -
process.c:1642:9: warning: result of comparison of constant -1 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare] 1642 | if (ch != -1) | ~~ ^ ~~ -
process.c:1992:50: warning: operator '?:' has lower precedence than '|'; '|' will be evaluated first [-Wbitwise-conditional-parentheses] 1992 | fore->w_flow = (fore->w_flow & FLOW_AUTO) | b ? FLOW_ON : FLOW_OFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ -
process.c:4083:7: warning: variable 'argl' set but not used [-Wunused-but-set-variable] 4083 | int *argl = act->argl; | ^ -
socket.c:141:41: warning: unused variable 'schosen' [-Wunused-variable] 141 | } *slist, **slisttail, *sent, *nsent, *schosen; | ^~~~~~~