From 9ea689d7e4f8900442441c7b53ec4ddc6975d311 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 20 Nov 2006 09:06:30 +0000 Subject: [PATCH] Silenced compiler warnings --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/sector.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index be92d83..544b07d 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2006.11.19.163646" +#define Cdrskin_timestamP "2006.11.20.090207" diff --git a/libburn/sector.c b/libburn/sector.c index 6e99428..0fc8a90 100644 --- a/libburn/sector.c +++ b/libburn/sector.c @@ -350,6 +350,8 @@ static void convert_subs(struct burn_write_opts *o, int inmode, out[0] = ~out[0]; out[1] = ~out[1]; break; + /* ts A61119 : to silence compiler warnings */ + default:; } } @@ -813,7 +815,14 @@ void process_q(struct burn_drive *d, unsigned char *q) #endif /* this needs more info. subs in the data? control/adr? */ + +/* ts A61119 : One should not use inofficial compiler extensions. + >>> Some day this function needs to be implemented. At least for now + the result does not match the "mode" of cdrecord -toc. + */ +/* #warning sector_identify needs to be written +*/ int sector_identify(unsigned char *data) { scramble(data);