From 27fc57cd28b20f6c75ae6a062de4e7f69a4c284b Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 17 Jun 2013 16:33:21 +0000 Subject: [PATCH] [EXT2FS] * Silence warnings. svn path=/trunk/; revision=59251 --- reactos/drivers/filesystems/ext2/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reactos/drivers/filesystems/ext2/CMakeLists.txt b/reactos/drivers/filesystems/ext2/CMakeLists.txt index f1dbab2007c..28bcea34eaa 100644 --- a/reactos/drivers/filesystems/ext2/CMakeLists.txt +++ b/reactos/drivers/filesystems/ext2/CMakeLists.txt @@ -22,6 +22,11 @@ list(APPEND SOURCE 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)