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:
Christopher Michael 2012-10-28 10:29:02 +00:00
parent 0fa136b0df
commit 2d6a796007
1 changed files with 1 additions and 4 deletions

View File

@ -412,12 +412,11 @@ _e_static_grab_x(E_Static_Grab *grab)
}
int
main(int argc, char **argv)
main(int argc, char **argv EINA_UNUSED)
{
E_Static_Grab_Module *module;
Eina_List *l;
E_Static_Grab grab;
const char *output;
if (argc != 2) exit(0);
@ -436,8 +435,6 @@ main(int argc, char **argv)
eina_init();
eet_init();
output = argv[1];
memset(&grab, 0, sizeof (grab));
_e_static_grab_cpu(&grab); /* FIXME: please provide patch for more Unix */
_e_static_grab_x(&grab);