X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Frotate.cpp;fp=src%2Flib%2Flttng-ctl%2Frotate.cpp;h=ed198922ee6535daf2fccc86a5bf617cb8da3e4d;hp=6a003a18ec101f1b0a3aa13eaaf5027c8df2c987;hb=f46376a14da2eb796690cb4e718e8b213839d6ea;hpb=1970828049d051d5cb485dfab995081b4550fd2a diff --git a/src/lib/lttng-ctl/rotate.cpp b/src/lib/lttng-ctl/rotate.cpp index 6a003a18e..ed198922e 100644 --- a/src/lib/lttng-ctl/rotate.cpp +++ b/src/lib/lttng-ctl/rotate.cpp @@ -196,7 +196,7 @@ end: * Return 0 on success else a negative LTTng error code. */ int lttng_rotate_session(const char *session_name, - struct lttng_rotation_immediate_descriptor *descriptor, + struct lttng_rotation_immediate_descriptor *descriptor __attribute__((unused)), struct lttng_rotation_handle **rotation_handle) { struct lttcomm_session_msg lsm;