From c8401bb931cfe927b73a5c154193c443faf5bb87 Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Thu, 16 Jun 2016 15:37:36 +0900 Subject: [PATCH] Added missing return value when checking NULL Change-Id: Id060cff748ea9543065414298e32380b7cd9500f --- scl/sclresourcecache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scl/sclresourcecache.cpp b/scl/sclresourcecache.cpp index 9555831..1c691e2 100644 --- a/scl/sclresourcecache.cpp +++ b/scl/sclresourcecache.cpp @@ -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(); -- 2.7.4