Author: brunowolff
Date: Wed Mar 19 16:37:58 2008
New Revision: 24820

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24820&view=rev
Log:
Silence gcc 4.3 warning, but this should get looked at further
A typedef was defined but not given a type name. This seems like a mistake
and either a name should get added, or the entry permanently removed instead
of just being commented out.

Modified:
    trunk/src/unit_animation.hpp

Modified: trunk/src/unit_animation.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_animation.hpp?rev=24820&r1=24819&r2=24820&view=diff
==============================================================================
--- trunk/src/unit_animation.hpp (original)
+++ trunk/src/unit_animation.hpp Wed Mar 19 16:37:58 2008
@@ -31,7 +31,8 @@
                //! Shouldn't be used so only declared.
                unit_animation();
        public:
-               typedef enum { MATCH_FAIL=-2 , DEFAULT_ANIM=-1};
+/* Please check the following as no name is given to the type */
+/*             typedef enum { MATCH_FAIL=-2 , DEFAULT_ANIM=-1}; */
                typedef enum { HIT, MISS, KILL, INVALID} hit_type;
                static void fill_initial_animations( 
std::vector<unit_animation> & animations, const config & cfg);
                static void add_anims( std::vector<unit_animation> & 
animations, const config & cfg);


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to