Initialize the "count" variable to zero 96/80396/1 advanced_devel
authorJihoon Jung <jh8801.jung@samsung.com>
Mon, 18 Jul 2016 02:32:18 +0000 (11:32 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Mon, 18 Jul 2016 02:32:18 +0000 (11:32 +0900)
Change-Id: Ic66d67bdc5622dfcb60cd5643a4975ece28e8ffa
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
client/SEService.cpp

index 5a21e23..2954590 100755 (executable)
@@ -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;