Fix: Value stored to 'has_waited' is never read
[lttng-ust.git] / liblttng-ust / lttng-ust-comm.c
index 726a30f9bdb6ffbfef4bc5fe17d11319ffdcd434..c619b5449dffafaa382927d63ff193656031bf02 100644 (file)
@@ -1246,8 +1246,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.023228 seconds and 4 git commands to generate.