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

master
Thomas Schmitt 12 years ago
parent 8a398c7233
commit 14b32afd54
  1. 5
      xorriso/aux_objects.c
  2. 2
      xorriso/xorriso_timestamp.h

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

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

Loading…
Cancel
Save