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