diff options
Diffstat (limited to 'protocols/YAMN')
-rw-r--r-- | protocols/YAMN/src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/YAMN/src/main.cpp b/protocols/YAMN/src/main.cpp index 0d05534f3c..4fa4991e8c 100644 --- a/protocols/YAMN/src/main.cpp +++ b/protocols/YAMN/src/main.cpp @@ -390,8 +390,7 @@ extern "C" int __declspec(dllexport) Load(void) } }
// Registering YAMN as protocol
- PROTOCOLDESCRIPTOR pd = {0};
- pd.cbSize = PROTOCOLDESCRIPTOR_V3_SIZE;
+ PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE };
pd.szName = YAMN_DBMODULE;
pd.type = PROTOTYPE_PROTOCOL;
CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
|