From: MyungJoo Ham Date: Tue, 3 Sep 2019 05:37:16 +0000 (+0900) Subject: [TF-Lite] Add terminating null X-Git-Tag: accepted/tizen/unified/20190905.060558~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c0d481466841069be3daa72f66d259b87f8e909;p=platform%2Fupstream%2Fnnstreamer.git [TF-Lite] Add terminating null The string list requires a terminating null. Signed-off-by: MyungJoo Ham --- diff --git a/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.c b/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.c index 2b5ca12..513ed72 100644 --- a/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.c +++ b/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.c @@ -39,7 +39,8 @@ static const char *nnapi_hw_string[] = { [NNAPI_CPU] = "cpu", [NNAPI_GPU] = "gpu", [NNAPI_NPU] = "npu", - [NNAPI_UNKNOWN] = "unknown" + [NNAPI_UNKNOWN] = "unknown", + NULL }; void init_filter_tflite (void) __attribute__ ((constructor));