From: Jihoon Jung Date: Mon, 18 Jul 2016 02:32:18 +0000 (+0900) Subject: Initialize the "count" variable to zero X-Git-Tag: accepted/tizen/common/20160824.154429~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F96%2F80396%2F1;p=platform%2Fcore%2Fconnectivity%2Fsmartcard-service.git Initialize the "count" variable to zero Change-Id: Ic66d67bdc5622dfcb60cd5643a4975ece28e8ffa Signed-off-by: Jihoon Jung --- 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;