summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2012-07-05 06:19:17 +0000
committerChristopher Michael <cpmichael1@comcast.net>2012-07-05 06:19:17 +0000
commit2f9e9628ccf19d78fcb0f1887e3a9320775209a3 (patch)
tree57cb92c6a8188a1b7efc3dd130db946ec3b30d99 /src/bin
parent3656913985465d2f849955a07e914e28e9c2d626 (diff)
Terminology: Add missing __UNUSED__ to function paramaters where
needed. Initialize iw & ih to zero to remove compiler warning about uninitialized variables. SVN revision: 73325
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/media.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/media.c b/src/bin/media.c
index 30277dd..0117426 100644
--- a/src/bin/media.c
+++ b/src/bin/media.c
@@ -403,25 +403,25 @@ _cb_mov_ref(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
403} 403}
404 404
405static void 405static void
406_cb_media_play(void *data, Evas_Object *obj, const char *emission, const char *source) 406_cb_media_play(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
407{ 407{
408 media_play_set(data, EINA_TRUE); 408 media_play_set(data, EINA_TRUE);
409} 409}
410 410
411static void 411static void
412_cb_media_pause(void *data, Evas_Object *obj, const char *emission, const char *source) 412_cb_media_pause(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
413{ 413{
414 media_play_set(data, EINA_FALSE); 414 media_play_set(data, EINA_FALSE);
415} 415}
416 416
417static void 417static void
418_cb_media_stop(void *data, Evas_Object *obj, const char *emission, const char *source) 418_cb_media_stop(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
419{ 419{
420 media_stop(data); 420 media_stop(data);
421} 421}
422 422
423static void 423static void
424_cb_media_vol(void *data, Evas_Object *obj, const char *emission, const char *source) 424_cb_media_vol(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
425{ 425{
426 double vx, vy; 426 double vx, vy;
427 Media *sd = evas_object_smart_data_get(data); 427 Media *sd = evas_object_smart_data_get(data);
@@ -431,7 +431,7 @@ _cb_media_vol(void *data, Evas_Object *obj, const char *emission, const char *so
431} 431}
432 432
433static void 433static void
434_cb_media_pos(void *data, Evas_Object *obj, const char *emission, const char *source) 434_cb_media_pos(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
435{ 435{
436 double vx, vy; 436 double vx, vy;
437 Media *sd = evas_object_smart_data_get(data); 437 Media *sd = evas_object_smart_data_get(data);
@@ -529,7 +529,7 @@ _type_mov_calc(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_
529 } 529 }
530 else 530 else
531 { 531 {
532 int iw, ih; 532 int iw = 0, ih = 0;
533 double ratio; 533 double ratio;
534 534
535 ratio = emotion_object_ratio_get(sd->o_img); 535 ratio = emotion_object_ratio_get(sd->o_img);