cleanup warnings in cmd/sgs/prof
../common/rdelf.c: In function 'fetch_symtab': ../common/rdelf.c:317:4: error: 'symdata_aux' may be used uninitialized in this function [-Werror=maybe-uninitialized] ../common/rdelf.c:271:17: error: 'nsyms_pri' may be used uninitialized in this function [-Werror=maybe-uninitialized] cc1: all warnings being treated as errors *** Error code 1 dmake: Fatal error: Command failed for target `rdelf.o'
Updated by Igor Kozhukhov almost 7 years ago
- % Done changed from 80 to 90
- Status changed from New to In Progress
they are real issues,
because we have uninitialized variable 'nsyms_pri' if we have 'case: SH_SUNW_LDYNSYM' at line 256.
'symdata_aux' have value at 284 and it is possible to have it uninitialized at 317