Skip to content

Commit 6b3097e

Browse files
committed
Fix incorrect unused pragma.
From structureio#92 Signed-off-by: Chris Lalancette <[email protected]>
1 parent 155d412 commit 6b3097e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/OpenNI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ typedef struct
8484

8585
/** This special URI can be passed to @ref Device::open() when the application has no concern for a specific device. */
8686
#if ONI_PLATFORM != ONI_PLATFORM_WIN32
87-
#pragma GCC diagnostic ignored "-Wunused-variable"
8887
#pragma GCC diagnostic push
88+
#pragma GCC diagnostic ignored "-Wunused-variable"
8989
#endif
9090
static const char* ANY_DEVICE = NULL;
9191
#if ONI_PLATFORM != ONI_PLATFORM_WIN32

0 commit comments

Comments
 (0)