From: sungwook79.park Date: Tue, 18 Apr 2017 08:02:01 +0000 (+0900) Subject: Fix issue detected by static analysis tool X-Git-Tag: accepted/tizen/unified/20170419.165325~2^2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Finputdelegator.git;a=commitdiff_plain;h=e95311aad61aa19618bde0464ce1c0afd4c59e98 Fix issue detected by static analysis tool Change-Id: I89e8044b1a417bdc4e09e877c905526aac2f620a Signed-off-by: sungwook79.park --- diff --git a/src/w-input-template.cpp b/src/w-input-template.cpp index afe2410..adb23e1 100755 --- a/src/w-input-template.cpp +++ b/src/w-input-template.cpp @@ -137,7 +137,7 @@ static bool input_template_init_db_util(void) "select sortId, itemId, checked, message from %s", "tmpl_msg_table"); - sqlite3_prepare_v2(g_tt_db, query, strlen(query), &stmt, NULL); + ret = sqlite3_prepare_v2(g_tt_db, query, strlen(query), &stmt, NULL); if (ret != SQLITE_OK) { PRINTFUNC(DLOG_ERROR, "Can not get query");