summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-04 18:57:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-04 18:57:44 +0000
commitd716f207aa8b71f35e3872fd6b34651703c2beb7 (patch)
tree1ddff4e84ac5bc8e73e3796f1d9b07d7b6599388 /plugins/StopSpamMod
parentc3fbe61899fda92575cdaec8e29301ea2707d8e6 (diff)
links to options don't work with langpacks
git-svn-id: http://svn.miranda-ng.org/main/trunk@1355 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StopSpamMod')
-rwxr-xr-xplugins/StopSpamMod/src/utilities.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StopSpamMod/src/utilities.cpp b/plugins/StopSpamMod/src/utilities.cpp
index 3685091b25..6d60d22106 100755
--- a/plugins/StopSpamMod/src/utilities.cpp
+++ b/plugins/StopSpamMod/src/utilities.cpp
@@ -511,7 +511,7 @@ std::string toUTF8(std::wstring str)
try{
utf8::utf16to8(str.begin(), str.end(), back_inserter(ustr));
}
- catch(const std::exception &e)
+ catch(const std::exception&)
{
//TODO: handle utf8cpp exceptions
}
@@ -532,7 +532,7 @@ std::wstring toUTF16(std::string str) //convert as much as possible
utf8::replace_invalid(str.begin(), str.end(), back_inserter(tmpstr));
utf8::utf8to16(tmpstr.begin(), tmpstr.end(), back_inserter(ustr));
}
- catch(const std::exception &e)
+ catch(const std::exception &)
{
//TODO: handle utf8cpp exceptions
}