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:
authorAlex Zolotarev <alex@mapswithme.com>2013-07-10 17:48:25 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:58:34 +0300
commit58049710488a90b919ff4091be18a205920a78a3 (patch)
treed3034c9a1fdfc3e85b314ea621fe7c4cd952b14b /qt/update_dialog.cpp
parent55c508fff73dda9c2a44b652f5756f740b46ca6d (diff)
Fixed warnings in our code
Diffstat (limited to 'qt/update_dialog.cpp')
-rw-r--r--qt/update_dialog.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/qt/update_dialog.cpp b/qt/update_dialog.cpp
index 627a03490b..9bc488fb7b 100644
--- a/qt/update_dialog.cpp
+++ b/qt/update_dialog.cpp
@@ -178,6 +178,10 @@ namespace qt
case EDownloading:
m_framework.DeleteCountry(countryIndex);
break;
+
+ default:
+ ASSERT(false, ("We shouldn't be here"));
+ break;
}
}
@@ -278,6 +282,10 @@ namespace qt
rowColor = COLOR_INQUEUE;
size = st.CountrySizeInBytes(index);
break;
+
+ default:
+ ASSERT(false, ("We shouldn't be here"));
+ break;
}
if (!statusString.isEmpty())