Get rid of single-line if statements

Change-Id: I2b603563c650e83354af95ee6fb2fb4c9134fe86
diff --git a/src/sysrepo_access.cpp b/src/sysrepo_access.cpp
index 17c86a0..0fac1d8 100644
--- a/src/sysrepo_access.cpp
+++ b/src/sysrepo_access.cpp
@@ -192,8 +192,9 @@
     Tree res;
 
     auto fillMap = [this, &res](auto items) {
-        if (!items)
+        if (!items) {
             return;
+        }
         for (unsigned int i = 0; i < items->val_cnt(); i++) {
             auto value = leafValueFromVal(items->val(i));
             if (m_schema->nodeType(items->val(i)->xpath()) == yang::NodeTypes::LeafList) {
@@ -337,8 +338,9 @@
         reportErrors();
     }
 
-    if (schema.empty())
+    if (schema.empty()) {
         throw std::runtime_error(std::string("Module ") + module + " not available");
+    }
 
     return schema;
 }