Removed surplus code statement which used uninitialized variable. Coverity CID 21843.
This commit is contained in:
parent
89c93af1f1
commit
ccb2139270
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2015.10.23.124544"
|
#define Cdrskin_timestamP "2015.10.23.130707"
|
||||||
|
@ -2391,7 +2391,6 @@ int burn_os_stdio_capacity(char *path, off_t write_start, off_t *bytes)
|
|||||||
|
|
||||||
BURN_ALLOC_MEM(testpath, char, 4096);
|
BURN_ALLOC_MEM(testpath, char, 4096);
|
||||||
testpath[0] = 0;
|
testpath[0] = 0;
|
||||||
blocks = *bytes / 512;
|
|
||||||
if (stat(path, &stbuf) == -1) {
|
if (stat(path, &stbuf) == -1) {
|
||||||
strcpy(testpath, path);
|
strcpy(testpath, path);
|
||||||
cpt = strrchr(testpath, '/');
|
cpt = strrchr(testpath, '/');
|
||||||
|
Loading…
Reference in New Issue
Block a user