diff options
author | George Hazan <ghazan@miranda.im> | 2023-02-18 20:10:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-02-18 20:10:39 +0300 |
commit | 756cda6094c7e3e24a29323867b070b988dfaf1c (patch) | |
tree | 38f67f441550e6660501afc10998e533be14f384 /protocols/Gadu-Gadu | |
parent | 8ffa00861ad0c00bcb11a7f90d91c38940d4d62b (diff) |
minor code cleaning
Diffstat (limited to 'protocols/Gadu-Gadu')
-rw-r--r-- | protocols/Gadu-Gadu/src/core.cpp | 2 | ||||
-rw-r--r-- | protocols/Gadu-Gadu/src/filetransfer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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;
|