blob: 3d97e4c64e5c1b16d84752174fe98a47ea62c6ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-nix_nixnode.cc,v 1.1 2013/09/17 21:13:45 joerg Exp $
--- nix/nixnode.cc.orig 2013-09-17 20:01:46.000000000 +0000
+++ nix/nixnode.cc
@@ -156,8 +156,6 @@ Edge* pE;
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);
|