pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/worldmap path_graph.cxx,1.13,1.14


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/worldmap path_graph.cxx,1.13,1.14
Date: 15 Oct 2002 23:56:19 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/worldmap
In directory dark:/tmp/cvs-serv12960

Modified Files:
        path_graph.cxx 
Log Message:
removed unused variable


Index: path_graph.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldmap/path_graph.cxx,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- path_graph.cxx      15 Oct 2002 21:48:43 -0000      1.13
+++ path_graph.cxx      15 Oct 2002 23:56:17 -0000      1.14
@@ -163,9 +163,10 @@
 
           Path* path2 = new Path();
           path2->reverse_insert(*path);
-          EdgeId id2 = graph.add_edge(path2, // FIXME: Memory leak!
-                                      lookup_node(source), 
lookup_node(destination), 
-                                      cost /* costs */);
+          //EdgeId id2 =
+          graph.add_edge(path2, // FIXME: Memory leak!
+                         lookup_node(source), lookup_node(destination), 
+                         cost /* costs */);
           
           //std::cout << "Cost: " << cost << std::endl;
 





reply via email to

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