summaryrefslogtreecommitdiff
path: root/messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'messages.cpp')
-rw-r--r--messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/messages.cpp b/messages.cpp
index 47f2669..5c1159a 100644
--- a/messages.cpp
+++ b/messages.cpp
@@ -37,7 +37,7 @@ int RecvMsgSvc(WPARAM w, LPARAM l)
wchar_t *tmp = mir_utf8decodeW(msg);
wstring str = tmp;
mir_free(tmp);
- wstring::size_type s1, s2;
+ wstring::size_type s1 = wstring::npos, s2 = wstring::npos;
if((str.find(_T("-----END PGP PUBLIC KEY BLOCK-----")) != wstring::npos) && (str.find(_T("-----BEGIN PGP PUBLIC KEY BLOCK-----")) != wstring::npos))
{