summaryrefslogtreecommitdiff
path: root/protocols/NewsAggregator
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/NewsAggregator')
-rw-r--r--protocols/NewsAggregator/Src/NewsAggregator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/NewsAggregator/Src/NewsAggregator.cpp b/protocols/NewsAggregator/Src/NewsAggregator.cpp
index 3c05847739..3ab146ccbb 100644
--- a/protocols/NewsAggregator/Src/NewsAggregator.cpp
+++ b/protocols/NewsAggregator/Src/NewsAggregator.cpp
@@ -86,8 +86,7 @@ extern "C" __declspec(dllexport) int Load(void)
hChangeFeedDlgList = (HANDLE) CallService(MS_UTILS_ALLOCWINDOWLIST,0,0);
// register weather protocol
- PROTOCOLDESCRIPTOR pd = {0};
- pd.cbSize = PROTOCOLDESCRIPTOR_V3_SIZE;
+ PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE };
pd.szName = MODULE;
pd.type = PROTOTYPE_PROTOCOL;
CallService(MS_PROTO_REGISTERMODULE,0,(LPARAM)&pd);