From bed14d5c02b071cd3f13aa457a7d4b7c40bc4a34 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Tue, 22 Oct 2019 13:23:19 +0300 Subject: [PATCH] Initialize continue_streaming with false Otherwise this variable is constant. --- src/location.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/location.rs b/src/location.rs index c71abdca3..285588c1b 100644 --- a/src/location.rs +++ b/src/location.rs @@ -540,7 +540,7 @@ pub fn save( #[allow(non_snake_case)] pub fn job_do_DC_JOB_MAYBE_SEND_LOCATIONS(context: &Context, _job: &Job) { let now = time(); - let mut continue_streaming = true; + let mut continue_streaming = false; info!( context, " ----------------- MAYBE_SEND_LOCATIONS -------------- ",