Imported Upstream version 1.47.0
[platform/upstream/e2fsprogs.git] / lib / blkid / getsize.c
index 75f21d5..7a6e6fd 100644 (file)
@@ -75,7 +75,7 @@ static int valid_offset(int fd, blkid_loff_t offset)
  */
 blkid_loff_t blkid_get_dev_size(int fd)
 {
-       unsigned long long size64;
+       unsigned long long size64 __BLKID_ATTR((unused));
        blkid_loff_t high, low;
 
 #if defined DKIOCGETBLOCKCOUNT && defined DKIOCGETBLOCKSIZE    /* For Apple Darwin */