You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by GitBox <gi...@apache.org> on 2020/01/12 14:32:18 UTC

[GitHub] [celix] pnoltes commented on a change in pull request #139: Add parsing of version and filter on version when calling useService*.

pnoltes commented on a change in pull request #139: Add parsing of version and filter on version when calling useService*.
URL: https://github.com/apache/celix/pull/139#discussion_r365586437
 
 

 ##########
 File path: libs/framework/tst/bundle_context_services_test.cpp
 ##########
 @@ -87,7 +87,7 @@ TEST(CelixBundleContextServicesTests, registerMultipleAndUseServices) {
     };
 
     const char *calcName = "calc";
-    struct calc svc;
+    struct calc svc{};
 
 Review comment:
   This generates an error. Add {nullptr} initialisation to (function pointer) field to prevent this.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services