Reacted on warnings of Debian buildd with clang

This commit is contained in:
Thomas Schmitt 2013-09-16 17:11:39 +00:00
parent 0fae14bb01
commit a874f79dec
3 changed files with 5 additions and 4 deletions

View File

@ -489,8 +489,9 @@ static int isoburn_welcome_media(struct isoburn **o, struct burn_drive *d,
goto ex; goto ex;
if(ret>0) { /* point msc1 to last session */ if(ret>0) { /* point msc1 to last session */
if((*o)->toc!=NULL) { if((*o)->toc!=NULL) {
for(t= (*o)->toc; t->next!=NULL; t= t->next); for(t= (*o)->toc; t->next!=NULL; t= t->next)
(*o)->fabricated_msc1= t->start_lba; ; /* clang wants newline in empty loops */
(*o)->fabricated_msc1= t->start_lba;
} }
} }
} }

View File

@ -1323,7 +1323,7 @@ int Xorriso_rmi(struct XorrisO *xorriso, void *boss_iter, off_t boss_mem,
char *path, int flag) char *path, int flag)
{ {
int ret, is_dir= 0, pl, not_removed= 0, fret; int ret, is_dir= 0, pl, not_removed= 0, fret;
IsoNode *victim_node, *node; IsoNode *victim_node= NULL, *node;
IsoDir *boss_node, *root_dir; IsoDir *boss_node, *root_dir;
IsoDirIter *iter= NULL; IsoDirIter *iter= NULL;
IsoImage *volume; IsoImage *volume;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2013.09.07.193824" #define Xorriso_timestamP "2013.09.16.164820"