diff --git a/Include/OpenNI.h b/Include/OpenNI.h index 52324b4e..81f09bf5 100644 --- a/Include/OpenNI.h +++ b/Include/OpenNI.h @@ -84,8 +84,8 @@ typedef struct /** This special URI can be passed to @ref Device::open() when the application has no concern for a specific device. */ #if ONI_PLATFORM != ONI_PLATFORM_WIN32 -#pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-variable" #endif static const char* ANY_DEVICE = NULL; #if ONI_PLATFORM != ONI_PLATFORM_WIN32