Added missing return value when checking NULL 42/74942/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Thu, 16 Jun 2016 06:37:36 +0000 (15:37 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Thu, 16 Jun 2016 06:37:36 +0000 (15:37 +0900)
Change-Id: Id060cff748ea9543065414298e32380b7cd9500f

scl/sclresourcecache.cpp

index 9555831..1c691e2 100644 (file)
@@ -802,7 +802,7 @@ CSCLResourceCache::remove_private_key(sclint id)
     sclint loop;
     CSCLContext *context = CSCLContext::get_instance();
 
-    if (!context) return;
+    if (!context) return FALSE;
 
     /* resets the current properties to predefined properties */
     sclshort layout =  context->get_base_layout();