From 413f71f97f3442a712e7f7008487af98fda82e71 Mon Sep 17 00:00:00 2001
From: Alexander Golubev <fatzer2@gmail.com>
Date: Thu, 19 Mar 2026 06:40:49 +0300
Subject: Add missing {} on condition in filesURItoFileName()

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
---
 src/kxsldbgpart/libxsldbg/files.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/kxsldbgpart/libxsldbg/files.cpp b/src/kxsldbgpart/libxsldbg/files.cpp
index dd46303..6b8f8a8 100644
--- a/src/kxsldbgpart/libxsldbg/files.cpp
+++ b/src/kxsldbgpart/libxsldbg/files.cpp
@@ -1328,7 +1328,7 @@ xmlChar *filesURItoFileName(const xmlChar* uri)
 
     /* If we've found something check to see if the file name
        found is to be valid */
-    if (tempName)
+    if (tempName) {
       result = (xmlChar*) xmlStrdup(tempName);
       unescapedFileName =  (xmlChar*) xmlStrdup(tempName);
       if (result && unescapedFileName){
@@ -1361,7 +1361,7 @@ xmlChar *filesURItoFileName(const xmlChar* uri)
     }else{
         xsldbgGenericErrorFunc(i18n("Error: Unable to convert %1 to local file name.\n").arg(xsldbgText(uri)));
     }
-
+  }
 
   return result;
 }
-- 
cgit v1.2.3

