Browse Source

Removed surplus code statement which used uninitialized variable. Coverity CID 21843.

1.4.2
Thomas Schmitt 7 years ago
parent
commit
d762c6b9dd
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 1
      libburn/sg-linux.c

2
cdrskin/cdrskin_timestamp.h

@ -1 +1 @@
#define Cdrskin_timestamP "2015.10.23.124544"
#define Cdrskin_timestamP "2015.10.23.130707"

1
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, '/');

Loading…
Cancel
Save