Whamcloud - gitweb
lib/blkid: fix -Wunused-variable warning in blkid_get_dev_size()
authorEric Biggers <ebiggers@google.com>
Sat, 21 Jan 2023 20:32:01 +0000 (12:32 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 27 Jan 2023 17:33:59 +0000 (12:33 -0500)
commit8eb4a1d71d539a3867b4ddc1ab7c924b033218a6
tree135bd8fe5865b34a3c89e1598189ad47c5d25663
parentae92b8f549cfc02f2231b3639ddf8a1b50b379ad
lib/blkid: fix -Wunused-variable warning in blkid_get_dev_size()

This showed up when building for Windows.  It's hard to conditionally
define this variable, so use the 'unused' attribute.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/blkid/Android.bp
lib/blkid/getsize.c