From: Enlightenment S. <no-...@en...> - 2012-10-28 10:29:12
|
Log: E: Fix warning: variable ?\226?\128?\152output?\226?\128?\153 set but not used. Add unused to argv. Signed-off-by: Christopher Michael <cpm...@co...> Author: devilhorns Date: 2012-10-28 03:29:02 -0700 (Sun, 28 Oct 2012) New Revision: 78581 Trac: http://trac.enlightenment.org/e/changeset/78581 Modified: trunk/e/src/bin/e_static_grab.c Modified: trunk/e/src/bin/e_static_grab.c =================================================================== --- trunk/e/src/bin/e_static_grab.c 2012-10-28 10:21:22 UTC (rev 78580) +++ trunk/e/src/bin/e_static_grab.c 2012-10-28 10:29:02 UTC (rev 78581) @@ -412,12 +412,11 @@ } 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 @@ 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); |