summaryrefslogtreecommitdiff
path: root/src/item.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.cc')
-rw-r--r--src/item.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/item.cc b/src/item.cc
index 33c3110c..9e8ac472 100644
--- a/src/item.cc
+++ b/src/item.cc
@@ -117,9 +117,8 @@ item_t::set_tag(const string& tag,
<< (value ? *value : string_value("<none>")) << "'");
optional<value_t> data = value;
- if (data &&
- (data->is_null() ||
- (data->is_string() && data->as_string().empty())))
+ if (data && (data->is_null() ||
+ (data->is_string() && data->as_string().empty())))
data = none;
string_map::iterator i = metadata->find(tag);