From b60702aa86920ec25f9b700181b153d5fa41cb08 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 24 Jan 2019 22:23:49 +0300 Subject: minor code cleaning --- protocols/JabberG/src/jabber_proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/JabberG/src') diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 47a1c0cdb3..15a63952a4 100755 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -847,7 +847,6 @@ HANDLE CJabberProto::SendFile(MCONTACT hContact, const wchar_t *szDescription, w if (jid == nullptr) return nullptr; - struct _stati64 statbuf; JABBER_LIST_ITEM *item = ListGetItemPtr(LIST_ROSTER, jid); if (item == nullptr) return nullptr; @@ -893,6 +892,7 @@ HANDLE CJabberProto::SendFile(MCONTACT hContact, const wchar_t *szDescription, w int i, j; for (i = j = 0; i < ft->std.totalFiles; i++) { + struct _stati64 statbuf; if (_wstat64(ppszFiles[i], &statbuf)) debugLogW(L"'%s' is an invalid filename", ppszFiles[i]); else { -- cgit v1.2.3