You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by ab...@apache.org on 2020/05/20 05:22:10 UTC

[celix] branch feature/uninitialized_var created (now 82b2ce6)

This is an automated email from the ASF dual-hosted git repository.

abroekhuis pushed a change to branch feature/uninitialized_var
in repository https://gitbox.apache.org/repos/asf/celix.git.


      at 82b2ce6  Fixed uninitialized var.

This branch includes the following new commits:

     new 82b2ce6  Fixed uninitialized var.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[celix] 01/01: Fixed uninitialized var.

Posted by ab...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

abroekhuis pushed a commit to branch feature/uninitialized_var
in repository https://gitbox.apache.org/repos/asf/celix.git

commit 82b2ce6082172a4be87b965f9ef83b503991962a
Author: Alexander Broekhuis <al...@luminis.eu>
AuthorDate: Wed May 20 07:21:41 2020 +0200

    Fixed uninitialized var.
---
 libs/framework/src/framework.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/framework/src/framework.c b/libs/framework/src/framework.c
index 9ad3c8e..8b46398 100644
--- a/libs/framework/src/framework.c
+++ b/libs/framework/src/framework.c
@@ -1573,7 +1573,7 @@ celix_status_t fw_addBundleListener(framework_pt framework, bundle_pt bundle, bu
 celix_status_t fw_removeBundleListener(framework_pt framework, bundle_pt bundle, bundle_listener_pt listener) {
     celix_status_t status = CELIX_SUCCESS;
 
-    fw_bundle_listener_pt bundleListener;
+    fw_bundle_listener_pt bundleListener = NULL;
 
     celixThreadMutex_lock(&framework->bundleListenerLock);
     for (int i = 0; i < arrayList_size(framework->bundleListeners); i++) {