celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject [04/38] celix git commit: CELIX-272: Remove unneeded ungetServiceReference from shell
Date Tue, 17 Nov 2015 11:57:21 GMT
CELIX-272: Remove unneeded ungetServiceReference from shell


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/5fbd1f5d
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/5fbd1f5d
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/5fbd1f5d

Branch: refs/heads/develop
Commit: 5fbd1f5d2fe2a7f3ecb1c2f44eb6bbcdd995e29f
Parents: a0926be
Author: Pepijn Noltes <pepijnnoltes@gmail.com>
Authored: Wed Nov 11 13:23:15 2015 +0100
Committer: Pepijn Noltes <pepijnnoltes@gmail.com>
Committed: Wed Nov 11 13:23:15 2015 +0100

----------------------------------------------------------------------
 shell/private/src/shell.c | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/5fbd1f5d/shell/private/src/shell.c
----------------------------------------------------------------------
diff --git a/shell/private/src/shell.c b/shell/private/src/shell.c
index d4fe9cc..378d614 100644
--- a/shell/private/src/shell.c
+++ b/shell/private/src/shell.c
@@ -176,11 +176,6 @@ celix_status_t shell_removeCommand(shell_pt shell_ptr, service_reference_pt
refe
 		status = sub_status;
 	}
 
-	sub_status = bundleContext_ungetServiceReference(shell_ptr->bundle_context_ptr, reference_ptr);
-	if (sub_status != CELIX_SUCCESS && status == CELIX_SUCCESS) {
-		status = sub_status;
-	}
-
 	return status;
 }
 


Mime
View raw message