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

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>

 

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

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sezero (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.

     

    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.14-8eb0.
    Corresponding source code