From 32b2f091485c64fac39df86e03d5d64b8cc2b32c Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 4 Jul 2011 17:17:40 +0000 Subject: [PATCH] Reacted on warnings of -Wunused-but-set-variable --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/file.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index b977106c..c37c1d65 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.07.04.143922" +#define Cdrskin_timestamP "2011.07.04.171649" diff --git a/libburn/trunk/libburn/file.c b/libburn/trunk/libburn/file.c index f55883b7..65f195da 100644 --- a/libburn/trunk/libburn/file.c +++ b/libburn/trunk/libburn/file.c @@ -625,7 +625,9 @@ void burn_fifo_next_interval(struct burn_source *source, *interval_min_fill = fs->interval_min_fill; ret = burn_fifo_inquire_status(source, - &size, &free_bytes, &status_text); + &size, &free_bytes, &status_text); + if (ret < 0) + return; fs->interval_min_fill = size - free_bytes - 1; }