1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-11 09:18:25 +03:00
lvm2/lib/device
Dave Wysochanski 605798073e Suppress 'sb_offset' compiler warning by using enum for md superblock versions.
The warning is bogus and is only seen on certain versions of gcc.
However using the enum does seem to clarify the intent of the code - only
3 possible md minor superblock versions.

Related compiler warning:
device/dev-md.c:53: warning: 'sb_offset' may be used uninitialized in this function
2008-06-23 14:54:50 +00:00
..
dev-cache.c Avoid spurious duplicate VG messages referring to VGs that are gone. 2008-05-28 22:27:47 +00:00
dev-cache.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
dev-io.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
dev-md.c Suppress 'sb_offset' compiler warning by using enum for md superblock versions. 2008-06-23 14:54:50 +00:00
device.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
device.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00