Project

General

Profile

Bug #13761

Updated by Toomas Soome about 1 year ago

Build errors: 
 <pre> 
     cc1: warnings being treated as errors 
     main.c: In function 'main': 
     main.c:165: error: 'clopts' may be used uninitialized in this function [-Wuninitialized] 
    
     cc1: warnings being treated as errors 
     conf.c: In function 'conf_scan': 
     conf.c:198: error: 'cp' may be used uninitialized in this function [-Wuninitialized] 
    
     main.c: In function 'docopytruncate': 
     main.c:1241:2: error: 'len' may be used uninitialized in this function [-Werror=maybe-uninitialized] 
       } while (len >= 0); 
       ^ 
     cc1: all warnings being treated as errors 
     *** Error code 1 
     dmake: Fatal error: Command failed for target `main.o' 
     Current working directory /code/illumos-gate/usr/src/cmd/logadm 
 </pre> 

 Clean them all up. 

 Testing done. build/install/boot.

Back