Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Gorshenin <y@mmaps.me>2015-04-08 13:25:57 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:45:11 +0300
commitf9d0921c64710aad14433b13f91b62c36089ac83 (patch)
treed7e940ab8180929a71a65ae1066309a36942bdf2 /map/mwm_tests
parentb6922be52642a46524fd0dd5e55bb7b989e638ef (diff)
[indexer] Fixed compile warnings on Index::Register() calls.
Diffstat (limited to 'map/mwm_tests')
-rw-r--r--map/mwm_tests/multithread_mwm_test.cpp4
-rw-r--r--map/mwm_tests/mwm_foreach_test.cpp3
2 files changed, 4 insertions, 3 deletions
diff --git a/map/mwm_tests/multithread_mwm_test.cpp b/map/mwm_tests/multithread_mwm_test.cpp
index ce0854434f..604e1817c5 100644
--- a/map/mwm_tests/multithread_mwm_test.cpp
+++ b/map/mwm_tests/multithread_mwm_test.cpp
@@ -4,9 +4,9 @@
#include "../../indexer/scales.hpp"
+#include "../../base/macros.hpp"
#include "../../base/thread.hpp"
-
namespace
{
typedef model::FeaturesFetcher SourceT;
@@ -63,7 +63,7 @@ namespace
SourceT src;
src.InitClassificator();
- src.RegisterMap(file + DATA_FILE_EXTENSION);
+ UNUSED_VALUE(src.RegisterMap(file + DATA_FILE_EXTENSION));
// Check that country rect is valid and not infinity.
m2::RectD const r = src.GetWorldRect();
diff --git a/map/mwm_tests/mwm_foreach_test.cpp b/map/mwm_tests/mwm_foreach_test.cpp
index 7eebb58e80..a7e59f8245 100644
--- a/map/mwm_tests/mwm_foreach_test.cpp
+++ b/map/mwm_tests/mwm_foreach_test.cpp
@@ -14,6 +14,7 @@
#include "../../geometry/robust_orientation.hpp"
#include "../../base/logging.hpp"
+#include "../../base/macros.hpp"
#include "../../std/string.hpp"
#include "../../std/algorithm.hpp"
@@ -251,7 +252,7 @@ void RunTest(string const & file)
model::FeaturesFetcher src1;
src1.InitClassificator();
- src1.RegisterMap(file);
+ UNUSED_VALUE(src1.RegisterMap(file));
vector<m2::RectD> rects;
rects.push_back(src1.GetWorldRect());