#23 Unnecessary global variable ctx

closed
nobody
None
4
2012-09-15
2010-06-15
No

GLContext ctx in visualinfo.c is unnecessarily global. The same variable name is also used as a parameter to other functions, which causes compiler warnings.

The variable should be made local to main().

Discussion

  • Søren Jørvang

    Søren Jørvang - 2010-06-15
     
  • Nigel Stewart

    Nigel Stewart - 2010-06-15

    Thanks for the patch.

     
  • Nigel Stewart

    Nigel Stewart - 2010-06-15

    Committed revision 604.

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks