patchmake - Patches: patch #7242, minor warning fixes for getopt.c

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7242: minor warning fixes for getopt.c

Submitter:  Ozkan Sezer <sezero>
Submitted:  Thu 15 Jul 2010 12:54:04 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Fixed Release:  None

Discussion

Thu 15 Jul 2010 12:54:04 PM UTC, original submission:  

The attached patch fixes minor warnings in getopt.c:

  • getopt.c (_getopt_initialize): Pacify compiler (unused argc

and argv) when not building for glibc.
(_getopt_internal): Add braces around if to avoid ambigous else.

Tested by compiling for linux and win32/win64.

Ozkan Sezer <sezero>

 

Attached Files

Attached Files
file #20983:  getopt.diff added by sezero (1.1KiB - application/octet-stream - minor warning fixes to getopt.c)

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-15 sezero Attached File- Added getopt.diff, #20983

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code