From 795f1c75cb6e337984cccd042371cb8b9a3ef6c1 Mon Sep 17 00:00:00 2001
From: Jay Arndt <jayarn27182@windstream.net>
Date: Wed, 6 Jul 2016 20:15:36 -0500
Subject: [PATCH] Fix warning in porting::setXorgWindowIcon when building
 without X11 (#4288)

---
 src/porting.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/porting.cpp b/src/porting.cpp
index ddf8139ea..15a18bdfb 100644
--- a/src/porting.cpp
+++ b/src/porting.cpp
@@ -695,8 +695,8 @@ bool setXorgWindowIcon(IrrlichtDevice *device,
 
 	delete [] icon_buffer;
 
-	return true;
 #endif
+	return true;
 }
 
 ////
-- 
GitLab