[Midnight Commander] #168: Unused and uninitialized variables
Ticket System
tickets at midnight-commander.org
Mon Jan 12 21:00:22 UTC 2009
#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
git:
edit/editdraw.c: In function ‘edit_draw_this_line’:
edit/editdraw.c:285: warning: ‘tws’ may be used uninitialized in this
function
edit/editlock.c: In function ‘lock_get_info’:
edit/editlock.c:146: warning: the address of ‘buf’ will always evaluate as
‘true’
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
More information about the mc-devel
mailing list