test/testgetdevices.c.in Remove some warnings on MingGW
This commit is contained in:
@@ -62,6 +62,7 @@ log_handler (cdio_log_level_t level, const char message[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __MINGW32__
|
||||||
static bool
|
static bool
|
||||||
is_in(char **file_list, const char *file)
|
is_in(char **file_list, const char *file)
|
||||||
{
|
{
|
||||||
@@ -75,10 +76,12 @@ is_in(char **file_list, const char *file)
|
|||||||
printf("Can't find file %s in list\n", file);
|
printf("Can't find file %s in list\n", file);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, const char *argv[])
|
main(int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
|
cdio_log_set_handler (log_handler);
|
||||||
#if defined(__MINGW32__)
|
#if defined(__MINGW32__)
|
||||||
printf("testgetdevices test skipped until drive recording testing issues resolved\n");
|
printf("testgetdevices test skipped until drive recording testing issues resolved\n");
|
||||||
return 77;
|
return 77;
|
||||||
@@ -92,7 +95,6 @@ main(int argc, const char *argv[])
|
|||||||
const char *cue_files[2] = {"cdda.cue", "isofs-m1.cue"};
|
const char *cue_files[2] = {"cdda.cue", "isofs-m1.cue"};
|
||||||
const char *nrg_files[1] = {"videocd.nrg"};
|
const char *nrg_files[1] = {"videocd.nrg"};
|
||||||
|
|
||||||
cdio_log_set_handler (log_handler);
|
|
||||||
|
|
||||||
if (cdio_have_driver(-1) != false)
|
if (cdio_have_driver(-1) != false)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user