From c8fd51bd27a2c47cb6cbcbf694f1ac48db2c5933 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 22 Jun 2015 10:20:24 -0400 Subject: [PATCH] CLI2: Removed unused tag MODIFIABLE --- src/CLI2.cpp | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/CLI2.cpp b/src/CLI2.cpp index 2f49d47af..646b1a73d 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -1510,18 +1510,8 @@ void CLI2::decomposeModAttributes () a.attribute ("value", value); std::string canonical; - if (canonicalize (canonical, "attribute", name)) - { - a.attribute ("canonical", canonical); - - auto col = context.columns.find (canonical); - if (col != context.columns.end () && - col->second->modifiable ()) - { - a.tag ("MODIFIABLE"); - } - } - else if (canonicalize (canonical, "uda", name)) + if (canonicalize (canonical, "attribute", name) || + canonicalize (canonical, "uda", name)) { a.attribute ("canonical", canonical); }