clapper-app: Fix unused variable warning when no MPRIS

When compiling without MPRIS feature "instance_count" is left unused,
so skip it with preprocessor in order to avoid warning.
This commit is contained in:
Rafał Dzięgiel
2024-06-16 17:34:56 +02:00
parent 262983e857
commit f58e722002

View File

@@ -86,7 +86,9 @@ typedef struct
gint64 last_tick;
} ClapperAppWindowResizeData;
#if CLAPPER_HAVE_MPRIS
static guint16 instance_count = 0;
#endif
static inline GQuark
clapper_app_window_extra_options_get_quark (void)