certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi/test/Billard main.cc


From: CERTI CVS commits
Subject: [certi-cvs] certi/test/Billard main.cc
Date: Mon, 03 Oct 2011 09:18:07 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      11/10/03 09:18:07

Modified files:
        test/Billard   : main.cc 

Log message:
        Less compiler warnings

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/test/Billard/main.cc?cvsroot=certi&r1=3.26&r2=3.27

Patches:
Index: main.cc
===================================================================
RCS file: /sources/certi/certi/test/Billard/main.cc,v
retrieving revision 3.26
retrieving revision 3.27
diff -u -b -r3.26 -r3.27
--- main.cc     24 Nov 2009 21:44:48 -0000      3.26
+++ main.cc     3 Oct 2011 09:18:07 -0000       3.27
@@ -18,7 +18,7 @@
 // along with this program ; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 //
-// $Id: main.cc,v 3.26 2009/11/24 21:44:48 erk Exp $
+// $Id: main.cc,v 3.27 2011/10/03 09:18:07 erk Exp $
 // ----------------------------------------------------------------------------
 
 #include <config.h>
@@ -72,12 +72,6 @@
 void ExceptionHandler();
 void TerminateHandler();
 
-#ifdef HAVE_XML
-static const bool WITH_XML = true ;
-#else
-static const bool WITH_XML = false ;
-#endif
-
 static bool exit_billard = false ;
 
 Billard *createBillard(bool, const char *, string);
@@ -251,6 +245,7 @@
     }
 
     std::cout << "Exiting." << std::endl ;
+    return 0;
 }
 
 // ----------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]