From a7f39c9470a54e4b91945c8be80fa3d3177fbb21 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sat, 10 Nov 2018 19:23:13 +0100 Subject: [PATCH] Avoid warning --- src/core/libs/gnss_sdr_supl_client.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/libs/gnss_sdr_supl_client.cc b/src/core/libs/gnss_sdr_supl_client.cc index 30de44cdf..1b4dcfa81 100644 --- a/src/core/libs/gnss_sdr_supl_client.cc +++ b/src/core/libs/gnss_sdr_supl_client.cc @@ -905,6 +905,10 @@ bool gnss_sdr_supl_client::read_gal_almanac_from_gsa(const std::string file_name } return true; #else + if (file_name.empty()) + { + // avoid warning + } return false; #endif }