From bb1d26f4f711f8b640088a47e32f483b52715ae2 Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Wed, 3 Jul 2013 20:07:58 -0700 Subject: [PATCH] Fix warning/error finding static properties. --- netclass.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/netclass.cc b/netclass.cc index 61f876155..7f2fb97d3 100644 --- a/netclass.cc +++ b/netclass.cc @@ -125,6 +125,7 @@ NetScope*netclass_t::method_from_name(perm_string name) const NetNet* netclass_t::find_static_property(perm_string name) const { NetNet*tmp = class_scope_->find_signal(name); + return tmp; } bool netclass_t::test_scope_is_method(const NetScope*scope) const