summaryrefslogtreecommitdiff
path: root/lib/localization.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:23:48 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:23:48 +0200
commitee1c8c5c25d25dfa42120125a8a45dc9831ee412 (patch)
tree67aa287157db954e0cadeee05b4aad331eb2ecf2 /lib/localization.cpp
parent5.13 (diff)
downloadFreeFileSync-ee1c8c5c25d25dfa42120125a8a45dc9831ee412.tar.gz
FreeFileSync-ee1c8c5c25d25dfa42120125a8a45dc9831ee412.tar.bz2
FreeFileSync-ee1c8c5c25d25dfa42120125a8a45dc9831ee412.zip
5.14
Diffstat (limited to 'lib/localization.cpp')
-rw-r--r--lib/localization.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/localization.cpp b/lib/localization.cpp
index 33494cf4..c29860f7 100644
--- a/lib/localization.cpp
+++ b/lib/localization.cpp
@@ -5,7 +5,6 @@
// **************************************************************************
#include "localization.h"
-//#include <fstream>
#include <map>
#include <list>
#include <iterator>
@@ -15,7 +14,6 @@
#include <zen/i18n.h>
#include <zen/format_unit.h>
#include <wx/intl.h>
-//#include <wx/msgdlg.h>
#include "parse_plural.h"
#include "parse_lng.h"
#include "ffs_paths.h"
@@ -214,9 +212,9 @@ ExistingTranslations::ExistingTranslations()
locMapping.push_back(newEntry);
}
}
- catch (lngfile::ParsingError&) {} //better not show an error message here; scenario: batch jobs
+ catch (lngfile::ParsingError&) { assert(false); } //better not show an error message here; scenario: batch jobs
}
- catch (...) {}
+ catch (...) { assert(false); }
std::sort(locMapping.begin(), locMapping.end(), LessTranslation());
}
bgstack15