X-Git-Url: https://git.piment-noir.org/?p=deb_x265.git;a=blobdiff_plain;f=source%2Fencoder%2FCMakeLists.txt;fp=source%2Fencoder%2FCMakeLists.txt;h=0e995edf64af784fe89fe0cae3afe28d33400649;hp=020364fde2d83ca7a477ef3557c1abd7e97efd82;hb=e2e7a0aa019812e0b1f7db9f9558f80939628fb7;hpb=5c9b45285dd64723ad1dac380b98a7b1f3095674 diff --git a/source/encoder/CMakeLists.txt b/source/encoder/CMakeLists.txt index 020364f..0e995ed 100644 --- a/source/encoder/CMakeLists.txt +++ b/source/encoder/CMakeLists.txt @@ -3,6 +3,9 @@ if(GCC) add_definitions(-Wno-uninitialized) endif() +if(MSVC) + add_definitions(/wd4701) # potentially uninitialized local variable 'foo' used +endif() add_library(encoder OBJECT ../x265.h analysis.cpp analysis.h