CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 06/09/29 11:42:57
Modified files:
. : ChangeLog
libbase : container.h
Log message:
Fixed non-void function not returning warning.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.970&r2=1.971
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/container.h?cvsroot=gnash&r1=1.40&r2=1.41
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.970
retrieving revision 1.971
diff -u -b -r1.970 -r1.971
--- ChangeLog 29 Sep 2006 10:57:53 -0000 1.970
+++ ChangeLog 29 Sep 2006 11:42:57 -0000 1.971
@@ -1,6 +1,7 @@
2006-09-29 Markus Gothe <[EMAIL PROTECTED]>
* configure.ac, libbase/container.h: fixed HAVE_STRCASECMP collision.
+ * libbase/container.h: Fixed non-void function not returning warning.
2006-09-29 Sandro Santilli <[EMAIL PROTECTED]>
Index: libbase/container.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/container.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- libbase/container.h 29 Sep 2006 10:57:53 -0000 1.40
+++ libbase/container.h 29 Sep 2006 11:42:57 -0000 1.41
@@ -165,7 +165,7 @@
return E(index).second;
}
assert(0);
-
+ return NULL; //non-void function!
}
void set(const T& key, const U& value)
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit