certi-cvs
[Top][All Lists]
Advanced

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

[certi-cvs] certi/test/libgraphc graph_c.cc


From: CERTI CVS commits
Subject: [certi-cvs] certi/test/libgraphc graph_c.cc
Date: Wed, 20 Jul 2011 12:50:39 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      11/07/20 12:50:39

Modified files:
        test/libgraphc : graph_c.cc 

Log message:
        Fix compiler warning

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/test/libgraphc/graph_c.cc?cvsroot=certi&r1=3.5&r2=3.6

Patches:
Index: graph_c.cc
===================================================================
RCS file: /sources/certi/certi/test/libgraphc/graph_c.cc,v
retrieving revision 3.5
retrieving revision 3.6
diff -u -b -r3.5 -r3.6
--- graph_c.cc  26 Apr 2007 14:42:51 -0000      3.5
+++ graph_c.cc  20 Jul 2011 12:50:39 -0000      3.6
@@ -17,7 +17,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 // USA
 //
-// $Id: graph_c.cc,v 3.5 2007/04/26 14:42:51 erk Exp $ 
+// $Id: graph_c.cc,v 3.6 2011/07/20 12:50:39 erk Exp $ 
 // ---------------------------------------------------------------------------
 
 
@@ -118,7 +118,7 @@
   case PINK:    nom_coub = "Pink";    break;
   case VIOLET:  nom_coub = "Violet";  break;
   case WHITE:   nom_coub = "White";   break;
-  default:      nom_coub = "Black";
+  default:      nom_coub = "Black"; break;
   }
   
   return nom_coub;
@@ -2135,7 +2135,7 @@
 
 tcla2 retourkey2() {
 
-     int   nbcar;
+     /*int   nbcar;*/
      tcla2 tret1;
      char  frappe[5];
      int   i;
@@ -2151,7 +2151,7 @@
                  &evenem);
                  
      if(evenem.type == KeyPress) {
-     nbcar = XLookupString((XKeyEvent *)&evenem,
+     /*nbcar*/(void)XLookupString((XKeyEvent *)&evenem,
                            frappe,
                            5,
                            &touche,
@@ -2210,4 +2210,4 @@
 
 #endif // X_DISPLAY_MISSING
 
-// $Id: graph_c.cc,v 3.5 2007/04/26 14:42:51 erk Exp $
+// $Id: graph_c.cc,v 3.6 2011/07/20 12:50:39 erk Exp $



reply via email to

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