From f720a0b1b9b4311c55998b510dc150d72dd65923 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 21 Mar 2012 19:35:37 +0000 Subject: [PATCH] Reacted on warning of cppcheck --- xorriso/text_io.c | 2 +- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xorriso/text_io.c b/xorriso/text_io.c index 835b7ee5..060db969 100644 --- a/xorriso/text_io.c +++ b/xorriso/text_io.c @@ -433,7 +433,7 @@ int Xorriso_read_lines(struct XorrisO *xorriso, FILE *fp, int *linecount, } } else { (*argv)= Smem_malloC(sizeof(char *)); - if(argv == NULL) + if(*argv == NULL) {ret= -1; goto ex;} (*argv)[0]= strdup(line); if((*argv)[0] == NULL) diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index e61f96df..339f7a5f 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2012.03.21.193153" +#define Xorriso_timestamP "2012.03.21.193557"