Reacted on warnings of cppcheck

This commit is contained in:
Thomas Schmitt 2012-03-21 19:30:38 +00:00
parent d005e8f1c2
commit b406e8e93e
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;
}

View File

@ -1 +1 @@
#define Xorriso_timestamP "2012.03.21.141040"
#define Xorriso_timestamP "2012.03.21.193055"