E: Fix warning: variable ‘output’ set but not used. Add unused to argv.
Signed-off-by: Christopher Michael <cpmichael1@comcast.net> SVN revision: 78581
This commit is contained in:
parent
0fa136b0df
commit
2d6a796007
|
@ -412,12 +412,11 @@ _e_static_grab_x(E_Static_Grab *grab)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv EINA_UNUSED)
|
||||||
{
|
{
|
||||||
E_Static_Grab_Module *module;
|
E_Static_Grab_Module *module;
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
E_Static_Grab grab;
|
E_Static_Grab grab;
|
||||||
const char *output;
|
|
||||||
|
|
||||||
if (argc != 2) exit(0);
|
if (argc != 2) exit(0);
|
||||||
|
|
||||||
|
@ -436,8 +435,6 @@ main(int argc, char **argv)
|
||||||
eina_init();
|
eina_init();
|
||||||
eet_init();
|
eet_init();
|
||||||
|
|
||||||
output = argv[1];
|
|
||||||
|
|
||||||
memset(&grab, 0, sizeof (grab));
|
memset(&grab, 0, sizeof (grab));
|
||||||
_e_static_grab_cpu(&grab); /* FIXME: please provide patch for more Unix */
|
_e_static_grab_cpu(&grab); /* FIXME: please provide patch for more Unix */
|
||||||
_e_static_grab_x(&grab);
|
_e_static_grab_x(&grab);
|
||||||
|
|
Loading…
Reference in New Issue