From fcfa418c4cb5c3490413dd345e5e4b998cb7a4c3 Mon Sep 17 00:00:00 2001
From: est31 <MTest31@outlook.com>
Date: Mon, 3 Oct 2016 15:55:15 +0200
Subject: [PATCH] Fix build/warning on non X11 platforms

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

diff --git a/src/porting.cpp b/src/porting.cpp
index f0337b610..023f0cca7 100644
--- a/src/porting.cpp
+++ b/src/porting.cpp
@@ -627,6 +627,7 @@ bool setXorgWindowIcon(IrrlichtDevice *device)
 		setXorgWindowIconFromPath(device,
 			path_share + "/misc/" PROJECT_NAME "-xorg-icon-128.png");
 #	endif
+#else
 	return false;
 #endif
 }
-- 
GitLab