Whamcloud - gitweb
LU-16067 misc: cleanup compiler warnings
[tools/e2fsprogs.git] / lib / e2p / fgetflags.c
index 0f1a059..93e130c 100644 (file)
@@ -50,8 +50,8 @@
 
 int fgetflags (const char * name, unsigned long * flags)
 {
-       struct stat buf;
 #if HAVE_STAT_FLAGS && !(APPLE_DARWIN && HAVE_EXT2_IOCTLS)
+       struct stat buf;
 
        if (stat (name, &buf) == -1)
                return -1;