summaryrefslogtreecommitdiff
path: root/net/ns/files/patch-nix_nixnode.cc
blob: abad38525e6bf3c3c076b272eaa140d859aecae7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- nix/nixnode.cc.orig	2014-01-17 10:33:55.000000000 +0100
+++ nix/nixnode.cc	2014-01-17 10:35:51.000000000 +0100
@@ -156,8 +156,6 @@
   if (last.first == NODE_NONE)
     {
       prev = m_Adj.begin();
-      if (prev == (EdgeVec_it) NULL) // ! How can this happen?
-        return(NodeWeight_t(NODE_NONE, 0));
       pE = *prev;
       if(0)printf("NextAdj returning first edge %ld\n",
              pE->m_n);