Setting a variable but not using it will trigger another warning on gcc >= 4.6.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@62717
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
return ee;
#else
return NULL;
- disp_name = NULL;
- parent = 0;
- x = 0;
- y = 0;
- w = 0;
- h = 0;
+ (void)(disp_name);
+ (void)(parent);
+ (void)(x);
+ (void)(y);
+ (void)(w);
+ (void)(h);
#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_8_X11 */
}
return (Ecore_X_Window) ecore_evas_window_get(ee);
#else
return 0;
- ee = NULL;
+ (void)(ee);
#endif
}
return (Ecore_X_Window) ecore_evas_window_get(ee);
#else
return 0;
- ee = NULL;
+ (void)(ee);
#endif
}
}
#else
return;
- ee = NULL;
- on = 0;
+ (void)(ee);
+ (void)(on);
#endif
}
return ee->engine.x.direct_resize;
#else
return 0;
- ee = NULL;
+ (void)(ee);
#endif
}
}
#else
return;
- ee = NULL;
- win = 0;
+ (void)(ee);
+ (void)(win);
#endif
}
XFree(preedit_attr);
#endif
- w = 0; // yes w is unused, but only a bi-product of the algorithm
+ (void)(w); // yes w is unused, but only a bi-product of the algorithm
}
#ifdef ENABLE_XIM