From 029c0817199ee393e28120e59856caede3d4e727 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Mon, 13 Oct 2025 10:35:00 +0300 Subject: [PATCH] Fixed -Wretrun-type warning in Highgui. --- modules/highgui/src/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/highgui/src/window.cpp b/modules/highgui/src/window.cpp index cf21feefbd..ad05fc1ef9 100644 --- a/modules/highgui/src/window.cpp +++ b/modules/highgui/src/window.cpp @@ -1115,9 +1115,9 @@ const std::string cv::currentUIFramework() return std::string("COCOA"); #elif defined (HAVE_WAYLAND) return std::string("WAYLAND"); -#else - return std::string(); #endif + + return std::string(); } // Without OpenGL