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: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/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
  • -unavailable- added by sezero (Submitted the item)

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 15 Jul 2010 12:54:04 PM UTCsezeroAttached File-=>Added getopt.diff, #20983

    Back to the top

    Powered by Savane 3.1-cleanup1