From: 오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 Date: Thu, 30 Aug 2018 08:13:18 +0000 (+0900) Subject: Return nullptr for InitRSQRT (#2533) X-Git-Tag: 0.2~131 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12bdbc2899726eeaccfa6e625067ef24a205e850;p=platform%2Fcore%2Fml%2Fnnfw.git Return nullptr for InitRSQRT (#2533) Return nullptr for InitRSQRT to avoid svace warning Signed-off-by: Hyeongseok Oh --- diff --git a/libs/support/tflite/src/kernels/RSQRT.cpp b/libs/support/tflite/src/kernels/RSQRT.cpp index 7fe81b3..dfb5b0c 100644 --- a/libs/support/tflite/src/kernels/RSQRT.cpp +++ b/libs/support/tflite/src/kernels/RSQRT.cpp @@ -32,7 +32,7 @@ namespace nnfw namespace RSQRT { -void *InitRSQRT(TfLiteContext *context, const char *buffer, size_t length) {} +void *InitRSQRT(TfLiteContext *context, const char *buffer, size_t length) { return nullptr; } void FreeRSQRT(TfLiteContext *context, void *buffer) {}