From 15b3b0e9f8823752f80c7e597a70749813e61c79 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Dec 2017 15:26:48 -0500 Subject: Always use braces --- src/Parser.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/Parser.cpp') diff --git a/src/Parser.cpp b/src/Parser.cpp index 68cd774f..2115ab74 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -545,8 +545,9 @@ parse_properties(Ingen::World* world, target->put(uri, properties, ctx); // Set passed properties last to override any loaded values - if (data) + if (data) { target->put(uri, data.get(), ctx); + } return true; } @@ -700,10 +701,12 @@ Parser::parse_file(Ingen::World* world, serd_env_free(env); world->log().info(fmt("Loading %1% from %2%\n") % uri % file_path); - if (parent) + if (parent) { world->log().info(fmt("Parent: %1%\n") % parent->c_str()); - if (symbol) + } + if (symbol) { world->log().info(fmt("Symbol: %1%\n") % symbol->c_str()); + } Sord::Node subject(*world->rdf_world(), Sord::Node::URI, uri); boost::optional parsed_path -- cgit v1.2.1