summaryrefslogtreecommitdiff
path: root/src/input/media_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/media_helper.c')
-rw-r--r--src/input/media_helper.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/input/media_helper.c b/src/input/media_helper.c
index d07acbab6..2c61cdb6a 100644
--- a/src/input/media_helper.c
+++ b/src/input/media_helper.c
@@ -51,9 +51,9 @@
#define LOG_MEDIA_EJECT
+#ifndef WIN32
static int media_umount_media(const char *device)
{
-#ifndef WIN32
pid_t pid;
int status;
@@ -73,10 +73,8 @@ static int media_umount_media(const char *device)
} while(1);
return -1;
-#else
- return 0;
-#endif
}
+#endif
int media_eject_media (xine_t *xine, const char *device)
{