From c5db7aef61b5798bfe00043a76d01db53a0c9039 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 11 May 2022 09:16:42 +0200 Subject: [PATCH] Remove dead code This code is never used on Windows, so remove it. --- vncviewer/vncviewer.cxx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index bbc7e372..028935b7 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -370,14 +370,8 @@ static void init_fltk() sprintf(icon_path, "%s/icons/hicolor/%dx%d/apps/tigervnc.png", CMAKE_INSTALL_FULL_DATADIR, icon_sizes[i], icon_sizes[i]); -#ifndef WIN32 struct stat st; if (stat(icon_path, &st) != 0) -#else - struct _stat st; - if (_stat(icon_path, &st) != 0) - return(false); -#endif exists = false; else exists = true; -- 2.39.5