Fix compilation warnings in libvpx (-Wunused-function)
authorSeungSeop Park <sns.park@samsung.com>
Fri, 8 Jan 2016 06:35:59 +0000 (15:35 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 07:55:23 +0000 (07:55 +0000)
commitfa9b21a4e5b5e224e5ee1ba8d7b3fb615836d6bf
treef928ba0c442aef50807949b4ef0f29d11d223641
parent58227f357e06e7a7a4893dec5164017ea3b07fcf
Fix compilation warnings in libvpx (-Wunused-function)

Currently, there are 27 warnings saying:
> ../../third_party/libvpx_new/source/libvpx/vp9/encoder/vp9_denoiser.h:63:12:\
> warning: 'total_adj_strong_thresh' defined but not used [-Wunused-function]

It's because |total_adj_strong_thresh| is defined as static function in .h file.
So warning will appear in any file that includes the header but does not use
the function.

The suggested solution is to declare the static function as inline.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=15496

Reviewed by: sns.park

Change-Id: Ic2173c0c3560256df1319d4344988618c71ec9a2
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
tizen_src/build/patches/fix_warning_for_libvpx.diff [new file with mode: 0644]