Silenced two compiler warnings

trunk@386
Thomas Schmitt 17 years ago
parent 392d94209d
commit 831c487911
  1. 18
      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 */

Loading…
Cancel
Save