[Midnight Commander] #151: Unitialized use of variable in edit.c

Ticket System tickets at midnight-commander.org
Fri Jan 9 00:02:21 UTC 2009


#151: Unitialized use of variable in edit.c
----------------------+-----------------------------------------------------
  Reporter:  metux    |       Owner:  winnie  
      Type:  defect   |      Status:  accepted
  Priority:  minor    |   Milestone:  4.6.2   
 Component:  mc-core  |     Version:  4.6.1   
Resolution:           |    Keywords:  review  
  Blocking:           |   Blockedby:          
----------------------+-----------------------------------------------------
Changes (by slavazanko):

  * keywords:  review,vote-metux => review


Comment:

 I run 'grep' over sources for search calls of edit_cursor_move() function.

 And not any case to checking return value of this function. As fact, this
 function will must non-return type ( void ).

 See patch fix_uninitalised_int-rev2.patch.

 Patch don't applyed to branch - I think that the rules of good manners:
 branch must change by developer, who created the branch. The rest (all
 those involved in the ticket, not just developers) is temporarily becoming
 subordinates, developer (branch-starter) is temporarily becoming team
 leader. If this idea good - need to update workflow ;)

-- 
Ticket URL: <www.midnight-commander.org/ticket/151#comment:4>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


More information about the mc-devel mailing list