Author: akhaldi Date: Mon Jun 17 16:33:21 2013 New Revision: 59251 URL: http://svn.reactos.org/svn/reactos?rev=59251&view=rev Log: [EXT2FS] * Silence warnings.
Modified: trunk/reactos/drivers/filesystems/ext2/CMakeLists.txt Modified: trunk/reactos/drivers/filesystems/ext2/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ext2/CMakeLists.txt?rev=59251&r1=59250&r2=59251&view=diff ============================================================================== --- trunk/reactos/drivers/filesystems/ext2/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/ext2/CMakeLists.txt [iso-8859-1] Mon Jun 17 16:33:21 2013 @@ -22,6 +22,11 @@ src/shutdown.c) add_library(ext2fs SHARED ${SOURCE}) + +if(NOT MSVC) + add_compile_flags("-Wno-unused-but-set-variable") +endif() + allow_warnings(ext2fs) target_link_libraries(ext2fs ${PSEH_LIB}) add_pch(ext2fs inc/ext2fsd.h)