From ebbe441f6a48bdf20d87a2daa40e75325c76d2e7 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Tue, 7 Apr 2015 17:32:56 +0200 Subject: [PATCH] everything: win variable is only used inside ifdef. We only use this in not wayland only mode so ifdef the variable as well. --- src/modules/everything/evry_plug_clipboard.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/everything/evry_plug_clipboard.c b/src/modules/everything/evry_plug_clipboard.c index 6859ffb..945ac9b 100644 --- a/src/modules/everything/evry_plug_clipboard.c +++ b/src/modules/everything/evry_plug_clipboard.c @@ -25,7 +25,9 @@ _check_item(Evry_Action *action EINA_UNUSED, const Evry_Item *it) Eina_Bool evry_plug_clipboard_init(void) { +#ifndef HAVE_WAYLAND_ONLY Ecore_Window win; +#endif if (!evry_api_version_check(EVRY_API_VERSION)) return EINA_FALSE; -- 2.7.4