CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 06/09/29 13:43:10
Modified files:
libbase : container.h
Log message:
fix for returning on the non-void... MIPSPRO complains without this.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/container.h?cvsroot=gnash&r1=1.41&r2=1.42
Patches:
Index: container.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/container.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- container.h 29 Sep 2006 11:42:57 -0000 1.41
+++ container.h 29 Sep 2006 13:43:10 -0000 1.42
@@ -165,7 +165,9 @@
return E(index).second;
}
assert(0);
- return NULL; //non-void function!
+ return E(index).second; /* Doesn't look nice but removes
+ warning on non-void function not
+ returning. */
}
void set(const T& key, const U& value)
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit