orbea / cross / slibtool

Forked from cross/slibtool 3 years ago
Clone

146916 driver: slbt_init_link_params(): explicitly initialize the 'prefix' variable.

Authored and Committed by midipix 8 years ago
    driver: slbt_init_link_params(): explicitly initialize the 'prefix' variable.
    
    This addresses a compiler false positive identification of a missing
    variable initialization.
    
    Note that access to 'prefix' is preceded by the following check:
    
    if (!libname)
    	return 0;
    
    and that all code paths which include an initialization of 'libname'
    also entail the initialization of 'prefix'.
    
        
file modified
+1 -0