Reacted on warning of cppcheck about burn_disc_get_cd_info()

This commit is contained in:
Thomas Schmitt 2011-10-09 15:54:47 +00:00
parent 63c04b8c9b
commit 3c7e723114
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2011.10.07.075117"
#define Cdrskin_timestamP "2011.10.09.155415"

View File

@ -3278,7 +3278,7 @@ int burn_disc_get_cd_info(struct burn_drive *d, char disc_type[80],
}
*disc_id = d->disc_id;
memcpy(bar_code, d->disc_bar_code, 8);
bar_code[9]= 0;
bar_code[8]= 0;
*app_code = d->disc_app_code;
*valid = d->disc_info_valid;
return 1;