Replace gcc -w option to -Wall 58/251358/2 submit/tizen/20210114.010347
authorKwang Son <k.son@samsung.com>
Wed, 13 Jan 2021 04:25:06 +0000 (13:25 +0900)
committerKwang Son <k.son@samsung.com>
Wed, 13 Jan 2021 04:33:35 +0000 (13:33 +0900)
commit6e85b1416a1ac37055382418234971a0f83278df
treea84c87ad9fd66a1075156311807d28dfef6b06e6
parentf3e782b77c5221276ddcea0fc21b6e426a514475
Replace gcc -w option to -Wall

Gcc -Wall option enhance code quailty and delete -w option which is
suppress warning. To clean code successfully follow bugs or warnings are fixed.

 - Cmake : -Wall -> -w and clean duplicate commands
 - Delete line : unused variables
 - strncpy : check null terminator and buffer size
 - exciplit header include
 - printf formatting, sprintf truncation
 - convert unmatched type
 - fix typo

Change-Id: I049de491b2e832aa27900b046984306ea3aeb318
Signed-off-by: Kwang Son <k.son@samsung.com>
24 files changed:
CMakeLists.txt
include/mv_surveillance_private.h
mv_barcode/barcode_detector/CMakeLists.txt
mv_barcode/barcode_generator/CMakeLists.txt
mv_common/CMakeLists.txt
mv_face/face/CMakeLists.txt
mv_face/face/src/mv_face.c
mv_image/image/CMakeLists.txt
mv_inference/inference/CMakeLists.txt
mv_surveillance/surveillance/src/mv_mask_buffer.c
mv_surveillance/surveillance/src/mv_surveillance.c
test/testsuites/barcode/CMakeLists.txt
test/testsuites/barcode/barcode_test_suite.c
test/testsuites/common/image_helper/CMakeLists.txt
test/testsuites/common/testsuite_common/CMakeLists.txt
test/testsuites/common/testsuite_common/mv_testsuite_common.c
test/testsuites/common/video_helper/mv_video_helper.c
test/testsuites/face/CMakeLists.txt
test/testsuites/face/face_test_suite.c
test/testsuites/image/CMakeLists.txt
test/testsuites/image/image_test_suite.c
test/testsuites/inference/CMakeLists.txt
test/testsuites/inference/inference_test_suite.c
test/testsuites/surveillance/CMakeLists.txt