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

Submitted by:  Ozkan Sezer <sezero>
Submitted on:  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>

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    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.3