CELIX-190: fixed wrong initialization

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

Branch: refs/heads/feature/CELIX-269_depman
Commit: c58615d2ac73828c6f27c7d8916f281c437fb579
Parents: 4834283
Author: Bjoern Petri <bpe...@apache.org>
Authored: Thu Oct 29 09:01:37 2015 +0100
Committer: Bjoern Petri <bpe...@apache.org>
Committed: Thu Oct 29 09:01:37 2015 +0100

----------------------------------------------------------------------
 remote_services/discovery/private/src/endpoint_discovery_poller.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/c58615d2/remote_services/discovery/private/src/endpoint_discovery_poller.c
----------------------------------------------------------------------
diff --git a/remote_services/discovery/private/src/endpoint_discovery_poller.c 
b/remote_services/discovery/private/src/endpoint_discovery_poller.c
index 60a9236..ec0a1b3 100644
--- a/remote_services/discovery/private/src/endpoint_discovery_poller.c
+++ b/remote_services/discovery/private/src/endpoint_discovery_poller.c
@@ -242,7 +242,7 @@ celix_status_t 
endpointDiscoveryPoller_removeDiscoveryEndpoint(endpoint_discover
 
 
 celix_status_t endpointDiscoveryPoller_poll(endpoint_discovery_poller_pt 
poller, char *url, array_list_pt currentEndpoints) {
-       celix_status_t status = NULL;
+       celix_status_t status;
        array_list_pt updatedEndpoints = NULL;
 
        // create an arraylist with a custom equality test to ensure we can 
find endpoints properly...

Reply via email to