From da1cd7c4bc70f4afb594acf61295539caa84a87e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 29 Jan 2009 18:24:10 -0400 Subject: Whitespace cleanup. --- src/option.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/option.cc') diff --git a/src/option.cc b/src/option.cc index 65de3d1f..3cafa06a 100644 --- a/src/option.cc +++ b/src/option.cc @@ -49,8 +49,7 @@ namespace { } *p = '\0'; - expr_t::ptr_op_t op = scope.lookup(buf); - if (op) + if (expr_t::ptr_op_t op = scope.lookup(buf)) return op_bool_tuple(op, false); *p++ = '_'; @@ -66,8 +65,7 @@ namespace { buf[4] = letter; buf[5] = '\0'; - expr_t::ptr_op_t op = scope.lookup(buf); - if (op) + if (expr_t::ptr_op_t op = scope.lookup(buf)) return op_bool_tuple(op, false); buf[5] = '_'; -- cgit v1.2.3