mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
Newer gcc doesn't need this trick
In fact it now generates an opposite warning about using undefined variable.
This commit is contained in:
parent
532e6c8ae3
commit
e42cb2f892
@ -25,7 +25,7 @@
|
||||
(void) (&_a == &_b); \
|
||||
_a > _b ? _a : _b; })
|
||||
|
||||
#ifdef __clang__
|
||||
#if defined(__clang__) || (defined(__GNUC__) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 6)
|
||||
#define uninitialized_var(x) x
|
||||
#else
|
||||
#define uninitialized_var(x) x = x
|
||||
|
Loading…
x
Reference in New Issue
Block a user