[Gridflow-cvs] [svn] commit: r6398 - /trunk/src/grid.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Wed Oct 6 20:03:07 EDT 2010


Author: matju
Date: Wed Oct  6 20:03:07 2010
New Revision: 6398

Log:
avoid warning on OSX 10.4

Modified:
    trunk/src/grid.cxx

Modified: trunk/src/grid.cxx
==============================================================================
--- trunk/src/grid.cxx (original)
+++ trunk/src/grid.cxx Wed Oct  6 20:03:07 2010
@@ -102,6 +102,7 @@
 #define FOO(T) return !! gh->flow_##T;
 	TYPESWITCH(nt,FOO,return false)
 #undef FOO
+	return false; // avoid warning "may reach end of non-void function" with some versions of gcc
 }
 
 void GridInlet::begin(GridOut *sender) {



More information about the Gridflow-cvs mailing list