Sorry for the missing title...

Abdelrazak Younes a écrit :
Following my config.h analysis, this patch gets rid of <config.h>

in Bullet.C

I am ready to do more of this but I would like to know first if this kind of patch will be accepted.

Abdel.


------------------------------------------------------------------------

Index: Bullet.C
===================================================================
--- Bullet.C    (revision 13796)
+++ Bullet.C    (working copy)
@@ -14,8 +14,6 @@
  * generate the bullets in the bullet-panel's.
  */
-#include <config.h>
-
 #include "Bullet.h"
#include <boost/assert.hpp>
@@ -355,7 +353,6 @@
void Bullet::testInvariant() const
 {
-#ifdef ENABLE_ASSERTIONS
        BOOST_ASSERT(font >= MIN);
        BOOST_ASSERT(font < FONTMAX);
        BOOST_ASSERT(character >= MIN);
@@ -376,5 +373,4 @@
        //        // user_text == 0
        //        BOOST_ASSERT(text.empty()); // not usually true
        //      }
-#endif
 }

Reply via email to