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

pengzheng pushed a commit to branch hotfix/double-dlclose
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to refs/heads/hotfix/double-dlclose by this 
push:
     new 7ab558d4 Fix -Werror=unused-variable.
7ab558d4 is described below

commit 7ab558d4eddab43422e5cf324adcf4c74fee5f98
Author: PengZheng <[email protected]>
AuthorDate: Thu Apr 27 22:32:08 2023 +0800

    Fix -Werror=unused-variable.
---
 libs/framework/src/module.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libs/framework/src/module.c b/libs/framework/src/module.c
index afc559b1..1ae03d3b 100644
--- a/libs/framework/src/module.c
+++ b/libs/framework/src/module.c
@@ -419,8 +419,6 @@ static celix_status_t 
celix_module_loadLibraryForManifestEntry(celix_module_t* m
 
 static celix_status_t 
celix_module_loadLibrariesInManifestEntry(celix_module_t* module, const char 
*librariesIn, const char *activator, bundle_archive_pt archive, void 
**activatorHandle) {
     celix_status_t status = CELIX_SUCCESS;
-    celix_bundle_context_t* fwCtx = 
celix_framework_getFrameworkContext(module->fw);
-
     char* last;
     char* libraries = strndup(librariesIn, 1024*10);
     char* token = strtok_r(libraries, ",", &last);
@@ -464,8 +462,6 @@ static celix_status_t 
celix_module_loadLibrariesInManifestEntry(celix_module_t*
 
 celix_status_t celix_module_loadLibraries(celix_module_t* module) {
     celix_status_t status = CELIX_SUCCESS;
-    celix_bundle_context_t* fwCtx = 
celix_framework_getFrameworkContext(module->fw);
-
     celix_library_handle_t* activatorHandle = NULL;
     bundle_archive_pt archive = NULL;
     bundle_revision_pt revision = NULL;

Reply via email to