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:41 +0000 (12:15 -0400)
commit78c597c7e02868d6bf3c0b5c6005afade2a8ad70
treeab4c92650062f0b48ff70e9abc56ef05a113dade
parenta47bb805a1b9335c5305d9b9f8886d4ab70a39a2
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.025123 seconds and 4 git commands to generate.