From 232b49bc902935ec17d8c4b70c0c4017f24672b9 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 28 Oct 2015 15:37:14 +0000 Subject: [PATCH] Removed a surplus test. Coverity CID 21796. --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/write.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 7134f4c..a7e57a6 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2015.10.26.184231" +#define Cdrskin_timestamP "2015.10.28.153929" diff --git a/libburn/write.c b/libburn/write.c index ed836db..e9e96b0 100644 --- a/libburn/write.c +++ b/libburn/write.c @@ -226,8 +226,6 @@ int burn_write_track_minsize(struct burn_write_opts *o, struct burn_session *s, 0x0002011a, LIBDAX_MSGS_SEV_NOTE, LIBDAX_MSGS_PRIO_HIGH, msg,0,0); step = BUFFER_SIZE / 4096; /* shall fit any sector size */ - if (step <= 0) - step = 1; seclen = burn_sector_length(t->mode); if (seclen <= 0) seclen = 2048;