Reacted on warnings of cppcheck

master
Thomas Schmitt 11 years ago
parent d005e8f1c2
commit b406e8e93e
  1. 2
      libisoburn/data_source.c
  2. 2
      libisoburn/isofs_wrap.c
  3. 2
      xorriso/xorriso_timestamp.h

@ -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…
Cancel
Save