diff --git a/src/module/qt_window/qthelper.hh b/src/module/qt_window/qthelper.hh
index c5a8a999b3f3e4ebec938dc98cbdae904c3d5074..9ed45600d98a84b12c015fd31a3b6466a16b87d8 100644
--- a/src/module/qt_window/qthelper.hh
+++ b/src/module/qt_window/qthelper.hh
@@ -78,6 +78,7 @@ node_to_variant(const mpv_node *node)
     case MPV_FORMAT_NODE:
     case MPV_FORMAT_BYTE_ARRAY: return QVariant();
     }
+    LOG_UNREACHABLE;
 }
 
 struct node_builder {