Missing "var is used uninitialized" warning?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, compiled with -Wall -Wextra the wollowing lines don't complain about a being used uninitialized. Tried with 4.5 and 4.6. Am I missing something?

int func (void)
{
    int a = a;

    return a;
}


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux