From 831c4879114ccac36c380f39327f629c252fe694 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 20 Aug 2006 18:21:29 +0000 Subject: [PATCH] Silenced two compiler warnings --- libburn/write.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/libburn/write.c b/libburn/write.c index fca62b6..2f53260 100644 --- a/libburn/write.c +++ b/libburn/write.c @@ -83,6 +83,13 @@ int burn_write_flush(struct burn_write_opts *o) return 1; } + +/* ts A60819: + This is unused since about Feb 2006, icculus.org/burn CVS. + The compiler complains. We shall please our compiler. +*/ +#ifdef Libburn_write_with_function_print_cuE + static void print_cue(struct cue_sheet *sheet) { int i; @@ -100,6 +107,9 @@ static void print_cue(struct cue_sheet *sheet) } } +#endif /* Libburn_write_with_print_cuE */ + + static void add_cue(struct cue_sheet *sheet, unsigned char ctladr, unsigned char tno, unsigned char indx, unsigned char form, unsigned char scms, int lba) @@ -181,8 +191,12 @@ struct cue_sheet *burn_create_toc_entries(struct burn_write_opts *o, add_cue(sheet, ctladr | 1, i + 1, 0, form, 0, runtime); runtime += 150; /* XXX fix pregap interval 1 for data tracks */ -// if (!(form & BURN_AUDIO)) -// tar[i]->pregap1 = 1; +/* ts A60813 silence righteous compiler warning about C++ style comments + This is possibly not a comment but rather a trace of Derek Foreman + experiments. Thus not to be beautified - but to be preserved rectified. +/ / if (!(form & BURN_AUDIO)) +/ / tar[i]->pregap1 = 1; +*/ tar[i]->pregap2 = 1; } /* XXX HERE IS WHERE WE DO INDICES IN THE CUE SHEET */