[Midnight Commander] #168: Unused and uninitialized variables

#168: Unused and uninitialized variables
 Reporter:  winnie   |       Owner:  winnie
     Type:  defect   |      Status:  new   
 Priority:  major    |   Milestone:  4.6.2 
Component:  mc-core  |     Version:  4.6.1 
 Keywords:           |    Blocking:        
Blockedby:           |  
 Here is a list of the warnings which raised up while compiling mc from

 edit/editdraw.c: In function ‘edit_draw_this_line’:
 edit/editdraw.c:285: warning: ‘tws’ may be used uninitialized in this
 edit/editlock.c: In function ‘lock_get_info’:
 edit/editlock.c:146: warning: the address of ‘buf’ will always evaluate as
 src/cmd.c: In function ‘save_setup_cmd’:
 src/cmd.c:1226: warning: unused variable ‘str’
 src/util.c: In function ‘file_date’:
 src/util.c:758: warning: unused variable ‘whentm’
 src/util.c: In function ‘list_append_unique’:
 src/util.c:1280: warning: ignoring return value of ‘g_list_remove_link’,
 declared with attribute warn_unused_result

 As some of this issues needs a fix for 4.6.2 setting milestone to 4.6.2

Ticket URL: <www.midnight-commander.org/ticket/168>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center

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