From: Jérémie Galarneau Date: Thu, 30 Aug 2018 19:39:30 +0000 (-0400) Subject: Cleanup: unused assignation on rotation error X-Git-Tag: v2.11.0-rc1~11 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=fd45e84df9cf09bbc716ad34aadfcfd78c38b7d4 Cleanup: unused assignation on rotation error Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng/commands/rotate.c b/src/bin/lttng/commands/rotate.c index 7439f4fbe..312bbba9c 100644 --- a/src/bin/lttng/commands/rotate.c +++ b/src/bin/lttng/commands/rotate.c @@ -228,7 +228,6 @@ skip_wait: break; case LTTNG_ROTATION_STATE_ERROR: ERR("Failed to retrieve rotation state."); - print_location = false; goto error; case LTTNG_ROTATION_STATE_ONGOING: MSG("Rotation ongoing for session %s", session_name); @@ -236,7 +235,6 @@ skip_wait: break; default: ERR("Unexpected rotation state encountered."); - print_location = false; goto error; }