From 756cda6094c7e3e24a29323867b070b988dfaf1c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 18 Feb 2023 20:10:39 +0300 Subject: minor code cleaning --- protocols/Gadu-Gadu/src/core.cpp | 2 +- protocols/Gadu-Gadu/src/filetransfer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Gadu-Gadu/src') diff --git a/protocols/Gadu-Gadu/src/core.cpp b/protocols/Gadu-Gadu/src/core.cpp index 19735b87e2..08e31d7e23 100644 --- a/protocols/Gadu-Gadu/src/core.cpp +++ b/protocols/Gadu-Gadu/src/core.cpp @@ -1033,7 +1033,7 @@ retry: const char *fileName = (const char*)dcc7->filename; - PROTORECVFILE pre = { 0 }; + PROTORECVFILE pre = {}; pre.fileCount = 1; pre.timestamp = time(0); pre.descr.a = fileName; diff --git a/protocols/Gadu-Gadu/src/filetransfer.cpp b/protocols/Gadu-Gadu/src/filetransfer.cpp index 291929a2da..2ee8642021 100644 --- a/protocols/Gadu-Gadu/src/filetransfer.cpp +++ b/protocols/Gadu-Gadu/src/filetransfer.cpp @@ -367,7 +367,7 @@ void __cdecl GaduProto::dccmainthread(void*) local_dcc->contact = (void*)getcontact(local_dcc->peer_uin, 0, 0, nullptr); const char *pszFileName = (const char *)m_dcc->file_info.filename; - PROTORECVFILE pre = { 0 }; + PROTORECVFILE pre = {}; pre.fileCount = 1; pre.timestamp = time(0); pre.descr.a = pszFileName; -- cgit v1.2.3