From fd45e84df9cf09bbc716ad34aadfcfd78c38b7d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 30 Aug 2018 15:39:30 -0400 Subject: [PATCH] Cleanup: unused assignation on rotation error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/bin/lttng/commands/rotate.c | 2 -- 1 file changed, 2 deletions(-) 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; } -- 2.34.1