From 682544ef17cdf96cde684d5601c6145132624f22 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 7 Feb 2009 04:27:04 -0400 Subject: Refer to empty expression operators as simply NULL. --- src/item.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/item.cc') diff --git a/src/item.cc b/src/item.cc index 6be3bae3..4af37e89 100644 --- a/src/item.cc +++ b/src/item.cc @@ -309,7 +309,7 @@ expr_t::ptr_op_t item_t::lookup(const string& name) break; } - return expr_t::ptr_op_t(); + return NULL; } bool item_t::valid() const -- cgit v1.2.3