summaryrefslogtreecommitdiff
path: root/legacy/emotion
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2012-03-06 20:57:50 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-03-06 20:57:50 +0000
commitba9617888d1299a5e50fd6009b779b452ae53678 (patch)
treeda2d75b1f134bf3295e8be2f8d80c17767784206 /legacy/emotion
parent579e75ff1eb98a1a363dfb1a55427d5254536e96 (diff)
Emotion: remove unused var on generic
SVN revision: 68849
Diffstat (limited to 'legacy/emotion')
-rw-r--r--legacy/emotion/src/generic_players/vlc/emotion_generic_vlc.c10
-rw-r--r--legacy/emotion/src/modules/generic/emotion_generic.c4
2 files changed, 6 insertions, 8 deletions
diff --git a/legacy/emotion/src/generic_players/vlc/emotion_generic_vlc.c b/legacy/emotion/src/generic_players/vlc/emotion_generic_vlc.c
index 0be1ee922d..6d61451eec 100644
--- a/legacy/emotion/src/generic_players/vlc/emotion_generic_vlc.c
+++ b/legacy/emotion/src/generic_players/vlc/emotion_generic_vlc.c
@@ -172,7 +172,7 @@ _send_cmd_start(struct _App *app, int cmd)
172} 172}
173 173
174static void 174static void
175_send_cmd_finish(struct _App *app) 175_send_cmd_finish(struct _App *app __UNUSED__)
176{ 176{
177 pthread_mutex_unlock(&_mutex_fd); 177 pthread_mutex_unlock(&_mutex_fd);
178} 178}
@@ -255,12 +255,12 @@ _lock(void *data, void **pixels)
255} 255}
256 256
257static void 257static void
258_unlock(void *data, void *id, void *const *pixels) 258_unlock(void *data __UNUSED__, void *id __UNUSED__, void *const *pixels __UNUSED__)
259{ 259{
260} 260}
261 261
262static void 262static void
263_display(void *data, void *id) 263_display(void *data, void *id __UNUSED__)
264{ 264{
265 struct _App *app = data; 265 struct _App *app = data;
266 if (!app->playing) 266 if (!app->playing)
@@ -284,12 +284,12 @@ _tmp_lock(void *data, void **pixels)
284} 284}
285 285
286static void 286static void
287_tmp_unlock(void *data, void *id, void *const *pixels) 287_tmp_unlock(void *data __UNUSED__, void *id __UNUSED__, void *const *pixels __UNUSED__)
288{ 288{
289} 289}
290 290
291static void 291static void
292_tmp_display(void *data, void *id) 292_tmp_display(void *data __UNUSED__, void *id __UNUSED__)
293{ 293{
294} 294}
295 295
diff --git a/legacy/emotion/src/modules/generic/emotion_generic.c b/legacy/emotion/src/modules/generic/emotion_generic.c
index 1e2d139535..b67a78be5e 100644
--- a/legacy/emotion/src/modules/generic/emotion_generic.c
+++ b/legacy/emotion/src/modules/generic/emotion_generic.c
@@ -1164,11 +1164,9 @@ em_len_get(void *data)
1164} 1164}
1165 1165
1166static double 1166static double
1167em_buffer_size_get(void *data) 1167em_buffer_size_get(void *data __UNUSED__)
1168{ 1168{
1169 Emotion_Generic_Video *ev = data;
1170 return 1.0; 1169 return 1.0;
1171 ev = NULL;
1172} 1170}
1173 1171
1174static int 1172static int