mail[Wesnoth-commits] r48309 - /trunk/src/sdl_utils.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on January 16, 2011 - 10:48:
Author: mordante
Date: Sun Jan 16 10:48:50 2011
New Revision: 48309

URL: http://svn.gna.org/viewcvs/wesnoth?rev=48309&view=rev
Log:
Remove an unused variable.

Fixes a g++ 4.6 warning.

Modified:
    trunk/src/sdl_utils.cpp

Modified: trunk/src/sdl_utils.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/sdl_utils.cpp?rev=48309&r1=48308&r2=48309&view=diff
==============================================================================
--- trunk/src/sdl_utils.cpp (original)
+++ trunk/src/sdl_utils.cpp Sun Jan 16 10:48:50 2011
@@ -670,8 +670,6 @@
                Uint32* beg = lock.pixels();
                Uint32* end = beg + nsurf->w*surf->h;
 
-               std::map<Uint32, Uint32>::const_iterator map_rgb_end = 
map_rgb.end();
-
                while(beg != end) {
                        Uint8 alpha = (*beg) >> 24;
 




Related Messages


Powered by MHonArc, Updated Sun Jan 16 11:00:05 2011