]> sourceware.org Git - lvm2.git/commit
gcc: single type initializers
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 22 Aug 2024 12:45:35 +0000 (14:45 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 22 Aug 2024 12:47:29 +0000 (14:47 +0200)
commit038760da4f0165b7aa4d0df85a80bd9e9d6acb05
tree6216fa14076bba0dc2fbf2ac1698c696a5013682
parentff2cadbf187176ccc7e4358b1ff245b9b25477a0
gcc: single type initializers

Older gcc doesn't really like complex types (buffer, struct) to be
initialized without extra {} around such type.
So pick any other 'single type' var from a struct and set it to 0,
rest will do the compiler without emitting a warning.
lib/activate/dev_manager.c
lib/config/config.c
tools/lvchange.c
This page took 0.035151 seconds and 5 git commands to generate.