From ffeae3b58ae49397f62cb733c77f565ac4070223 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 26 Nov 2012 18:24:10 +0000 Subject: various code cleaning considering protocols' declarations git-svn-id: http://svn.miranda-ng.org/main/trunk@2509 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Quotes/src/Forex.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/Quotes') diff --git a/protocols/Quotes/src/Forex.cpp b/protocols/Quotes/src/Forex.cpp index 063e812b04..d5cbf7eb42 100644 --- a/protocols/Quotes/src/Forex.cpp +++ b/protocols/Quotes/src/Forex.cpp @@ -421,8 +421,7 @@ extern "C" Quotes_IconsInit(); - PROTOCOLDESCRIPTOR pd = {0}; - pd.cbSize = /*sizeof(pd)*/PROTOCOLDESCRIPTOR_V3_SIZE; + PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE }; pd.szName = QUOTES_PROTOCOL_NAME; pd.type = PROTOTYPE_PROTOCOL; // pd.fnInit = protoInit; -- cgit v1.2.3