bugCharmap - a GNUstep character map - Bugs: bug #42476, Fix for some gcc warnings

 
 

bug #42476: Fix for some gcc warnings

Submitter:  Yavor Doganov <yavor>
Submitted:  Sat 31 May 2014 09:46:14 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 31 May 2014 09:46:14 PM UTC, original submission:  

There are a few warnings when compiling Charmap:


CharInspector.m: In function ‘-[CharInspector init]’:
CharInspector.m:47:13: warning: initialization from distinct Objective-C type [enabled by default]
CharInspector.m: In function ‘-[CharInspector updateWithPosition:Dictionary:]’:
CharInspector.m:224:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
CharInspector.m:230:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
 Compiling file CJKInspector.m ...
CJKInspector.m: In function ‘-[CJKInspector init]’:
CJKInspector.m:43:13: warning: initialization from distinct Objective-C type [enabled by default]
 Compiling file Controller.m ...
Controller.m: In function ‘-[Controller awakeFromNib]’:
Controller.m:67:13: warning: initialization from distinct Objective-C type [enabled by default]
Controller.m: In function ‘-[Controller putSelected:]’:
Controller.m:233:7: warning: variable ‘charTag’ set but not used [-Wunused-but-set-variable]


The attached patch fixes them.

Yavor Doganov <yavor>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #31477:  gcc-warnings.patch added by yavor (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by yavor (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-05-31 yavor Attached File- Added gcc-warnings.patch, #31477

    Back to the top

    Powered by Savane 3.14-0608.
    Corresponding source code