configure: add '-Wlogical-op' to warning flags
[lttng-tools.git] / src / bin / lttng-sessiond / rotation-thread.cpp
index a2b92a858ae612254cafa8d8a13d05558c503bab..473138cf8861d16871cc6b2f250bf1fb6b911229 100644 (file)
@@ -215,7 +215,10 @@ void rotation_thread_enqueue_job(struct rotation_thread_timer_queue *queue,
                 * the job will be processed when the rotation_thread catches
                 * up.
                 */
+               DIAGNOSTIC_PUSH
+               DIAGNOSTIC_IGNORE_LOGICAL_OP
                if (errno == EAGAIN || errno == EWOULDBLOCK) {
+               DIAGNOSTIC_POP
                        /*
                         * Not an error, but would be surprising and indicate
                         * that the rotation thread can't keep up with the
This page took 0.022916 seconds and 4 git commands to generate.