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:23 +0000 (12:15 -0400)
commit2d4c4d15a0483c8463874522503da3b2f840e9f6
tree9916fbb1d99b75ddf34bc821431061afbc1d8569
parentc245d0d3253680f0f8caf751ae99d10bd74034bf
Fix: gcc-9.1 stack frame size warning

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>
lttng-abi.c
This page took 0.025335 seconds and 4 git commands to generate.