diff options
author | Tom Hacohen <tom@stosb.com> | 2016-03-02 14:42:46 +0000 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2016-03-03 09:58:08 +0000 |
commit | 23a6b12183aa1365a6da33ab4f06bdf04b42e1e1 (patch) | |
tree | 56882ea26cd19a57a3cd9ef2584a44cb54970760 /src/lib/emotion/emotion_smart.c | |
parent | 8780da1fbdb4e06a12508bcc86023ee2d1b4e30a (diff) |
Fix migration script mistakes and compilation warnings.
Mostly unused vars following the removal of eo_do_ret().
However, there are some cases where the migration script got some things
wrong, and I had to manually fix them.
Diffstat (limited to '')
-rw-r--r-- | src/lib/emotion/emotion_smart.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c index 231a81efac..d0b0f327f8 100644 --- a/src/lib/emotion/emotion_smart.c +++ b/src/lib/emotion/emotion_smart.c | |||
@@ -349,7 +349,6 @@ _emotion_object_engine_set(Eo *obj, Emotion_Object_Data *pd, const char *engine) | |||
349 | EAPI Eina_Bool | 349 | EAPI Eina_Bool |
350 | emotion_object_file_set(Evas_Object *obj, const char *file) | 350 | emotion_object_file_set(Evas_Object *obj, const char *file) |
351 | { | 351 | { |
352 | Eina_Bool ret; | ||
353 | return efl_file_set(obj, file, NULL); | 352 | return efl_file_set(obj, file, NULL); |
354 | } | 353 | } |
355 | 354 | ||
@@ -648,7 +647,6 @@ _emotion_object_efl_player_play_set(Eo *obj, Emotion_Object_Data *sd, Eina_Bool | |||
648 | EAPI Eina_Bool | 647 | EAPI Eina_Bool |
649 | emotion_object_play_get(const Evas_Object *obj) | 648 | emotion_object_play_get(const Evas_Object *obj) |
650 | { | 649 | { |
651 | Eina_Bool ret; | ||
652 | return efl_player_play_get(obj); | 650 | return efl_player_play_get(obj); |
653 | } | 651 | } |
654 | 652 | ||
@@ -687,7 +685,6 @@ _emotion_object_efl_player_position_set(Eo *obj, Emotion_Object_Data *sd, double | |||
687 | EAPI double | 685 | EAPI double |
688 | emotion_object_position_get(const Evas_Object *obj) | 686 | emotion_object_position_get(const Evas_Object *obj) |
689 | { | 687 | { |
690 | double ret; | ||
691 | return efl_player_position_get(obj); | 688 | return efl_player_position_get(obj); |
692 | } | 689 | } |
693 | 690 | ||
@@ -712,7 +709,6 @@ emotion_object_buffer_size_get(const Evas_Object *obj) | |||
712 | EAPI Eina_Bool | 709 | EAPI Eina_Bool |
713 | emotion_object_seekable_get(const Evas_Object *obj) | 710 | emotion_object_seekable_get(const Evas_Object *obj) |
714 | { | 711 | { |
715 | Eina_Bool ret; | ||
716 | return efl_player_seekable_get(obj); | 712 | return efl_player_seekable_get(obj); |
717 | } | 713 | } |
718 | 714 | ||
@@ -739,7 +735,6 @@ emotion_object_audio_handled_get(const Evas_Object *obj) | |||
739 | EAPI double | 735 | EAPI double |
740 | emotion_object_play_length_get(const Evas_Object *obj) | 736 | emotion_object_play_length_get(const Evas_Object *obj) |
741 | { | 737 | { |
742 | double ret; | ||
743 | return efl_player_length_get(obj); | 738 | return efl_player_length_get(obj); |
744 | } | 739 | } |
745 | 740 | ||
@@ -774,7 +769,6 @@ _emotion_object_efl_image_smooth_scale_set(Eo *obj EINA_UNUSED, Emotion_Object_D | |||
774 | EAPI Eina_Bool | 769 | EAPI Eina_Bool |
775 | emotion_object_smooth_scale_get(const Evas_Object *obj) | 770 | emotion_object_smooth_scale_get(const Evas_Object *obj) |
776 | { | 771 | { |
777 | Eina_Bool ret; | ||
778 | return efl_image_smooth_scale_get(obj); | 772 | return efl_image_smooth_scale_get(obj); |
779 | } | 773 | } |
780 | 774 | ||
@@ -787,7 +781,6 @@ _emotion_object_efl_image_smooth_scale_get(Eo *obj EINA_UNUSED, Emotion_Object_D | |||
787 | EAPI double | 781 | EAPI double |
788 | emotion_object_ratio_get(const Evas_Object *obj) | 782 | emotion_object_ratio_get(const Evas_Object *obj) |
789 | { | 783 | { |
790 | double ret; | ||
791 | return efl_image_ratio_get(obj); | 784 | return efl_image_ratio_get(obj); |
792 | } | 785 | } |
793 | 786 | ||
@@ -828,7 +821,6 @@ _emotion_object_efl_player_audio_volume_set(Eo *obj EINA_UNUSED, Emotion_Object_ | |||
828 | EAPI double | 821 | EAPI double |
829 | emotion_object_audio_volume_get(const Evas_Object *obj) | 822 | emotion_object_audio_volume_get(const Evas_Object *obj) |
830 | { | 823 | { |
831 | double ret; | ||
832 | return efl_player_audio_volume_get(obj); | 824 | return efl_player_audio_volume_get(obj); |
833 | } | 825 | } |
834 | 826 | ||
@@ -856,7 +848,6 @@ _emotion_object_efl_player_audio_mute_set(Eo *obj EINA_UNUSED, Emotion_Object_Da | |||
856 | EAPI Eina_Bool | 848 | EAPI Eina_Bool |
857 | emotion_object_audio_mute_get(const Evas_Object *obj) | 849 | emotion_object_audio_mute_get(const Evas_Object *obj) |
858 | { | 850 | { |
859 | Eina_Bool ret; | ||
860 | return efl_player_audio_mute_get(obj); | 851 | return efl_player_audio_mute_get(obj); |
861 | } | 852 | } |
862 | 853 | ||
@@ -1147,7 +1138,6 @@ emotion_object_progress_info_get(const Evas_Object *obj) | |||
1147 | EAPI double | 1138 | EAPI double |
1148 | emotion_object_progress_status_get(const Evas_Object *obj) | 1139 | emotion_object_progress_status_get(const Evas_Object *obj) |
1149 | { | 1140 | { |
1150 | double ret; | ||
1151 | return efl_player_progress_get(obj); | 1141 | return efl_player_progress_get(obj); |
1152 | } | 1142 | } |
1153 | 1143 | ||