[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bzflag-commits
Subject:    SF.net SVN: bzflag:[22347] trunk/bzflag/src/platform/SDLMedia.cxx
From:       JeffM2501 () users ! sourceforge ! net
Date:       2012-01-26 6:34:47
Message-ID: E1RqIv1-0003TX-Hh () sfp-svn-4 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 22347
          http://bzflag.svn.sourceforge.net/bzflag/?rev=22347&view=rev
Author:   JeffM2501
Date:     2012-01-26 06:34:47 +0000 (Thu, 26 Jan 2012)
Log Message:
-----------
they see me constin, they be hatein.

Modified Paths:
--------------
    trunk/bzflag/src/platform/SDLMedia.cxx

Modified: trunk/bzflag/src/platform/SDLMedia.cxx
===================================================================
--- trunk/bzflag/src/platform/SDLMedia.cxx	2012-01-26 06:20:29 UTC (rev 22346)
+++ trunk/bzflag/src/platform/SDLMedia.cxx	2012-01-26 06:34:47 UTC (rev 22347)
@@ -341,8 +341,7 @@
 void SDLMedia::audioDriver(std::string& driverName)
 {
   char driver[128];
-  char *result = SDL_AudioDriverName(driver, sizeof(driver));
-  if (result)
+  if (SDL_AudioDriverName(driver, sizeof(driver)))
     driverName = driver;
   else
     driverName = "audio not available";

This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BZFlag-commits mailing list
BZFlag-commits@lists.SourceForge.net
https://lists.SourceForge.net/lists/listinfo/bzflag-commits
irc: #BZFlag @ irc.freenode.net


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic