Reacted on warnings of -Wunused-but-set-variable

This commit is contained in:
Thomas Schmitt 2011-07-03 08:56:56 +00:00
parent 8a398c7233
commit 14b32afd54
2 changed files with 3 additions and 4 deletions

View File

@ -506,7 +506,6 @@ ex:;
int Xorriso_lst_new_binary(struct Xorriso_lsT **lstring, char *data,
int data_len, struct Xorriso_lsT *link, int flag)
{
int ret;
struct Xorriso_lsT *s;
s= TSOB_FELD(struct Xorriso_lsT,1);
@ -519,10 +518,10 @@ int Xorriso_lst_new_binary(struct Xorriso_lsT **lstring, char *data,
s->text= data;
} else {
if(data_len<=0)
{ret= -1; goto failed;}
goto failed;
s->text= Smem_malloC(data_len);
if(s->text==NULL)
{ret= -1; goto failed;}
goto failed;
if(!(flag&2))
memcpy(s->text,data,data_len);
}

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.07.02.153320"
#define Xorriso_timestamP "2011.07.03.085629"