From f9b55138823f892c40c8a6b473c032987e600d15 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 5 Aug 2015 16:50:20 -0400 Subject: [PATCH] Cleanup: Formatting code --- src/CLI2.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/CLI2.cpp b/src/CLI2.cpp index 2f79526a8..21d129d1a 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -1075,7 +1075,7 @@ void CLI2::desugarFilterAttributes () if (a._lextype == Lexer::Type::pair && a.hasTag ("FILTER")) { - std::string raw = a.attribute ("raw"); + std::string raw = a.attribute ("raw"); std::string name = a.attribute ("name"); std::string mod = a.attribute ("modifier"); std::string sep = a.attribute ("separator"); @@ -1125,11 +1125,8 @@ void CLI2::desugarFilterAttributes () // duration --> yes bool evalSupported = true; Column* col = context.columns[canonical]; - if (col && - col->type () == "string") - { + if (col && col->type () == "string") evalSupported = false; - } A2 lhs (name, Lexer::Type::dom); lhs.tag ("FILTER");