diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-14 14:52:25 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-14 14:52:25 +0000 |
commit | ad9ea188764830dad666490867c07a9891b7e854 (patch) | |
tree | a06e77f6a660082423bdd1f10253ba97eddb32a2 /plugins/CrashDumper/src/upload.cpp | |
parent | 67a6632c79ee755a468b2d2bd28d470104f2b4da (diff) |
CrashDumper: changed warning lavel to w4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11410 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CrashDumper/src/upload.cpp')
-rw-r--r-- | plugins/CrashDumper/src/upload.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/CrashDumper/src/upload.cpp b/plugins/CrashDumper/src/upload.cpp index fccdc858ce..f3a70a2cae 100644 --- a/plugins/CrashDumper/src/upload.cpp +++ b/plugins/CrashDumper/src/upload.cpp @@ -42,7 +42,8 @@ void GetLoginStr(char* user, size_t szuser, char* pass) if (db_get_s(NULL, PluginName, "Username", &dbv) == 0) {
strncpy_s(user, szuser, dbv.pszVal, _TRUNCATE);
db_free(&dbv);
- } else
+ }
+ else
user[0] = 0;
if (db_get_s(NULL, PluginName, "Password", &dbv) == 0) {
@@ -56,7 +57,8 @@ void GetLoginStr(char* user, size_t szuser, char* pass) arrayToHex(hash, sizeof(hash), pass);
db_free(&dbv);
- } else
+ }
+ else
pass[0] = 0;
}
|