Reacted on warnings of Debian buildd with clang

This commit is contained in:
Thomas Schmitt 2013-09-16 17:11:39 +00:00
parent 82a994cf92
commit 460ffe9d96
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;
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;
}
}
}

View File

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

View File

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