← Back to team overview

kicad-developers team mailing list archive

/include/xnode.h giving warnings

 

I am still on Wx 2.8 and building gave me lots of warnings about no
return() from non void function.
Possible fix here.

Greetings,
Edwin van den Oetelaar


bzr diff include/
=== modified file 'include/xnode.h'
--- include/xnode.h 2013-06-12 19:43:22 +0000
+++ include/xnode.h 2013-06-13 07:25:23 +0000
@@ -118,7 +118,7 @@
     }
     bool DeleteAttribute( const wxString& attrName )
     {
-        DeleteProperty( attrName );
+        return DeleteProperty( attrName );
     }
     wxXmlProperty* GetAttributes() const
     {


Follow ups