Get rid of single-line if statements

Change-Id: I2b603563c650e83354af95ee6fb2fb4c9134fe86
diff --git a/src/yang_schema.cpp b/src/yang_schema.cpp
index 9e63348..575e241 100644
--- a/src/yang_schema.cpp
+++ b/src/yang_schema.cpp
@@ -80,8 +80,9 @@
 bool YangSchema::leafIsKey(const std::string& leafPath) const
 {
     auto node = getSchemaNode(leafPath);
-    if (!node || node->nodetype() != LYS_LEAF)
+    if (!node || node->nodetype() != LYS_LEAF) {
         return false;
+    }
 
     return libyang::Schema_Node_Leaf{node}.is_key().get();
 }
@@ -347,8 +348,9 @@
     }
 
     for (const auto& node : nodes) {
-        if (node->module()->name() == "ietf-yang-library"sv)
+        if (node->module()->name() == "ietf-yang-library"sv) {
             continue;
+        }
 
         if (recursion == Recursion::Recursive) {
             for (auto it : node->tree_dfs()) {