From: Simon Marchi Date: Wed, 31 Mar 2021 19:06:34 +0000 (-0400) Subject: Fix: sessiond: fix -Wshadow error in save.c X-Git-Tag: v2.12.4~21 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=03e79f33de8b65a18a5929d55e937db565365fdc;hp=03e79f33de8b65a18a5929d55e937db565365fdc;p=lttng-tools.git Fix: sessiond: fix -Wshadow error in save.c I think this actually fixes a bug. Because of the second ret variable, the return value from init_ust_event_from_agent_event or save_ust_event would not be forwarded correctly, in case of error. Signed-off-by: Simon Marchi Signed-off-by: Jérémie Galarneau Change-Id: Ieb61d9b267ab90e18cc349d86754d9b89b5703f1 ---