everything: win variable is only used inside ifdef.

We only use this in not wayland only mode so ifdef the variable as well.
This commit is contained in:
Stefan Schmidt 2015-04-07 17:32:56 +02:00
parent 4a2432f593
commit ebbe441f6a
1 changed files with 2 additions and 0 deletions

View File

@ -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;