From d762c6b9dd49d66f75ef01cdb010598123354622 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 23 Oct 2015 13:05:09 +0000 Subject: [PATCH] Removed surplus code statement which used uninitialized variable. Coverity CID 21843. --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/sg-linux.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 19fb4de..a054419 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2015.10.23.124544" +#define Cdrskin_timestamP "2015.10.23.130707" diff --git a/libburn/sg-linux.c b/libburn/sg-linux.c index e441f57..61f4bb2 100644 --- a/libburn/sg-linux.c +++ b/libburn/sg-linux.c @@ -2391,7 +2391,6 @@ int burn_os_stdio_capacity(char *path, off_t write_start, off_t *bytes) BURN_ALLOC_MEM(testpath, char, 4096); testpath[0] = 0; - blocks = *bytes / 512; if (stat(path, &stbuf) == -1) { strcpy(testpath, path); cpt = strrchr(testpath, '/');