From 2af26729aac27fdb325cdc05875836a18f6da586 Mon Sep 17 00:00:00 2001 From: Jihoon Jung Date: Mon, 18 Jul 2016 11:32:18 +0900 Subject: [PATCH] Initialize the "count" variable to zero Change-Id: Ic66d67bdc5622dfcb60cd5643a4975ece28e8ffa Signed-off-by: Jihoon Jung --- client/SEService.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/SEService.cpp b/client/SEService.cpp index 5a21e23..2954590 100755 --- a/client/SEService.cpp +++ b/client/SEService.cpp @@ -680,6 +680,10 @@ EXTERN_API int se_service_get_readers(se_service_h handle, int **readers, int *c } *count = temp; } + else + { + *count = 0; + } SE_SERVICE_EXTERN_END; -- 2.7.4