blob: 43a05244ec440ff0f15fae8b0559a65ccc8030cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-net__scope.cc,v 1.1 2013/05/23 15:00:00 joerg Exp $
--- net_scope.cc.orig 2013-05-22 14:46:10.000000000 +0000
+++ net_scope.cc
@@ -221,11 +221,7 @@ map<perm_string,NetScope::param_expr_t>:
if (idx != parameters.end())
return idx;
- idx = localparams.find(perm_string::literal(key));
- if (idx != localparams.end())
- return idx;
-
- return (map<perm_string,param_expr_t>::iterator) 0;
+ return localparams.find(perm_string::literal(key));
}
NetScope::TYPE NetScope::type() const
|