From 460ffe9d9678db19ea143b589d5e6a225296455b Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 16 Sep 2013 17:11:39 +0000 Subject: [PATCH] Reacted on warnings of Debian buildd with clang --- libisoburn/burn_wrap.c | 5 +++-- xorriso/iso_manip.c | 2 +- xorriso/xorriso_timestamp.h | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libisoburn/burn_wrap.c b/libisoburn/burn_wrap.c index ca61edab..939c6a9b 100644 --- a/libisoburn/burn_wrap.c +++ b/libisoburn/burn_wrap.c @@ -489,8 +489,9 @@ static int isoburn_welcome_media(struct isoburn **o, struct burn_drive *d, goto ex; if(ret>0) { /* point msc1 to last session */ if((*o)->toc!=NULL) { - for(t= (*o)->toc; t->next!=NULL; t= t->next); - (*o)->fabricated_msc1= t->start_lba; + for(t= (*o)->toc; t->next!=NULL; t= t->next) + ; /* clang wants newline in empty loops */ + (*o)->fabricated_msc1= t->start_lba; } } } diff --git a/xorriso/iso_manip.c b/xorriso/iso_manip.c index b80bb746..abf77f78 100644 --- a/xorriso/iso_manip.c +++ b/xorriso/iso_manip.c @@ -1323,7 +1323,7 @@ int Xorriso_rmi(struct XorrisO *xorriso, void *boss_iter, off_t boss_mem, char *path, int flag) { int ret, is_dir= 0, pl, not_removed= 0, fret; - IsoNode *victim_node, *node; + IsoNode *victim_node= NULL, *node; IsoDir *boss_node, *root_dir; IsoDirIter *iter= NULL; IsoImage *volume; diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 6e5847f1..3eabf40d 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2013.09.07.193824" +#define Xorriso_timestamP "2013.09.16.164820"