Fix: gcc-9.1 stack frame size warning
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 6 Sep 2019 01:01:47 +0000 (21:01 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 6 Sep 2019 16:15:33 +0000 (12:15 -0400)
gcc-9.1.0 warns about lttng_session_ioctl taking a too large frame size.

lttng-modules/lttng-abi.c:622:1: warning: the frame size of 2240 bytes
is larger than 2048 bytes [-Wframe-larger-than=]

Combine the variables used in the various case of the switch so they are
not duplicated on the stack by the compiler.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.026051 seconds and 4 git commands to generate.