Ticket #339 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Warnings count regression

Reported by: styx Owned by: styx
Priority: major Milestone: 4.7
Component: mc-core Version: 4.6.2
Keywords: commited-master Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

Some new warnings has been introduced in master after merge with m-utf-8 (and maybe earlier)

edit.c:2645: warning: implicit declaration of function ‘edit_move_block_to_right’
edit.c:2805: warning: implicit declaration of function ‘edit_move_block_to_left’
search.c:312: warning: return discards qualifiers from pointer target type
cmd.c:536: warning: ‘c’ may be used uninitialized in this function
view.c:3064: warning: cast from pointer to integer of different size
view.c:3196: warning: format not a string literal and no format arguments
view.c:2739: warning: ‘icase_search_p’ defined but not used
wtools.c:347: warning: assignment from incompatible pointer type
wtools.c:353: warning: assignment from incompatible pointer type
wtools.c:361: warning: assignment from incompatible pointer type
wtools.c:373: warning: assignment from incompatible pointer type
wtools.c:377: warning: assignment from incompatible pointer type
charsets.c:161: warning: unused variable ‘obuflen’

Change History

comment:1 Changed 7 years ago by styx

branch: 339_warnings_fixes

comment:2 Changed 7 years ago by styx

  • Owner set to styx
  • Status changed from new to accepted

comment:3 Changed 7 years ago by styx

fixed:
edit.c:2645: warning: implicit declaration of function ‘edit_move_block_to_right’
edit.c:2805: warning: implicit declaration of function ‘edit_move_block_to_left’
search.c:312: warning: return discards qualifiers from pointer target type
cmd.c:536: warning: ‘c’ may be used uninitialized in this function
view.c:3064: warning: cast from pointer to integer of different size
view.c:2739: warning: ‘icase_search_p’ defined but not used
charsets.c:161: warning: unused variable ‘obuflen’

left:
view.c:3176: warning: format not a string literal and no format arguments
wtools.c:347: warning: assignment from incompatible pointer type
wtools.c:353: warning: assignment from incompatible pointer type
wtools.c:361: warning: assignment from incompatible pointer type
wtools.c:373: warning: assignment from incompatible pointer type
wtools.c:377: warning: assignment from incompatible pointer type

comment:5 Changed 7 years ago by styx

  • Keywords review added

fixed:
view.c:3176: warning: format not a string literal and no format arguments
wtools.c:347: warning: assignment from incompatible pointer type
wtools.c:353: warning: assignment from incompatible pointer type
wtools.c:361: warning: assignment from incompatible pointer type
wtools.c:373: warning: assignment from incompatible pointer type
wtools.c:377: warning: assignment from incompatible pointer type

changeset: 2ffdc8d2fa7ea967f6227f8d7adf197940473347

comment:6 Changed 7 years ago by slyfox

  • Keywords vote-slyfox added

comment:7 Changed 7 years ago by slavazanko

  • Keywords vote-slavazanko approved added; review removed

comment:8 Changed 7 years ago by slavazanko

  • Status changed from accepted to testing
  • Keywords commited-master added; vote-slyfox vote-slavazanko approved removed
  • Resolution set to fixed

comment:9 Changed 7 years ago by slavazanko

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.