On 02/10/12 12:21, Enlightenment SVN wrote: > Log: > e: Fix warnings > > Signed-off-by: Mike McCormack <[email protected]> > > Author: mike_m > Date: 2012-10-02 04:21:17 -0700 (Tue, 02 Oct 2012) > New Revision: 77304 > Trac: http://trac.enlightenment.org/e/changeset/77304 > > Modified: > trunk/e/src/modules/conf_randr/e_smart_monitor.c > trunk/e/src/modules/conf_randr/e_smart_randr.c > > Modified: trunk/e/src/modules/conf_randr/e_smart_monitor.c > =================================================================== > --- trunk/e/src/modules/conf_randr/e_smart_monitor.c 2012-10-02 11:20:12 UTC > (rev 77303) > +++ trunk/e/src/modules/conf_randr/e_smart_monitor.c 2012-10-02 11:21:17 UTC > (rev 77304) > @@ -631,7 +631,7 @@ > Evas_Object *mon; > E_Smart_Data *sd; > Evas_Coord ow, oh; > - Ecore_X_Randr_Mode_Info *mode; > + Ecore_X_Randr_Mode_Info *mode = NULL; > > if (!(mon = data)) return; > if (!(sd = evas_object_smart_data_get(mon))) return; > > Modified: trunk/e/src/modules/conf_randr/e_smart_randr.c > =================================================================== > --- trunk/e/src/modules/conf_randr/e_smart_randr.c 2012-10-02 11:20:12 UTC > (rev 77303) > +++ trunk/e/src/modules/conf_randr/e_smart_randr.c 2012-10-02 11:21:17 UTC > (rev 77304) > @@ -301,7 +301,7 @@ > /* callback received from the monitor object to let us know that it was > * rotated, and we should adjust position of any adjacent monitors */ > static void > -_e_smart_cb_monitor_rotated(void *data, Evas_Object *obj, void *event > __UNUSED__) > +_e_smart_cb_monitor_rotated(void *data __UNUSED__, Evas_Object *obj > __UNUSED__, void *event __UNUSED__) > { > printf("Monitor Rotated\n"); > } > @@ -309,7 +309,7 @@ > /* callback received from the monitor object to let us know that it was > * moved, and we should adjust position of any adjacent monitors */ > static void > -_e_smart_cb_monitor_moved(void *data, Evas_Object *obj, void *event > __UNUSED__) > +_e_smart_cb_monitor_moved(void *data __UNUSED__, Evas_Object *obj > __UNUSED__, void *event __UNUSED__) > { > printf("Monitor Moved\n"); > } > >
A little premature wrt adding the UNUSED here because they are soon to be used ;) But thanks for the fixes !! :) dh ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
