Commit b406e8e9 authored by Thomas Schmitt's avatar Thomas Schmitt

Reacted on warnings of cppcheck

parent d005e8f1
......@@ -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;
}
......
#define Xorriso_timestamP "2012.03.21.141040"
#define Xorriso_timestamP "2012.03.21.193055"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment