Reacted on warnings of cppcheck
This commit is contained in:
parent
d005e8f1c2
commit
b406e8e93e
@ -273,7 +273,7 @@ static int isoburn_cached_drive_new(struct isoburn_cached_drive **o,
|
||||
int i, ret;
|
||||
|
||||
*o = icd = calloc(1,sizeof(struct isoburn_cached_drive));
|
||||
if (o == NULL)
|
||||
if (*o == NULL)
|
||||
return(-1);
|
||||
icd->drive = d;
|
||||
icd->tiles = NULL;
|
||||
|
@ -204,7 +204,7 @@ create_blank_image:;
|
||||
iso_image_set_ignore_aclea(o->image,
|
||||
(!!(read_opts->noacl)) | ((!!read_opts->noea) << 1) );
|
||||
|
||||
ret= isoburn_root_defaults(*image, 0);
|
||||
ret= isoburn_root_defaults(o->image, 0);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2012.03.21.141040"
|
||||
#define Xorriso_timestamP "2012.03.21.193055"
|
||||
|
Loading…
Reference in New Issue
Block a user