Fix: Value stored to 'has_waited' is never read
[lttng-ust.git] / liblttng-ust / lttng-ust-comm.c
index 1e4bec699b4f454c0d01eef2749f6a7204e5f89d..8effa36999bb8230f5b1718a8a2aa60808305343 100644 (file)
@@ -1228,8 +1228,9 @@ restart:
                         * deals with a killed or broken session daemon.
                         */
                        sleep(5);
+               } else {
+                       has_waited = 1;
                }
-               has_waited = 1;
                prev_connect_failed = 0;
        }
 
This page took 0.022841 seconds and 4 git commands to generate.