Removed a surplus development variable. Coverity CID 21795.

This commit is contained in:
Thomas Schmitt 2015-10-29 10:53:49 +00:00
parent 88d9f38385
commit 404ece128c
2 changed files with 2 additions and 4 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2015.10.29.082150" #define Cdrskin_timestamP "2015.10.29.105609"

View File

@ -2944,7 +2944,7 @@ static int mmc_get_configuration_al(struct burn_drive *d, int *alloc_len)
{ {
struct buffer *buf = NULL; struct buffer *buf = NULL;
int len, cp, descr_len = 0, feature_code, only_current = 1, i; int len, cp, descr_len = 0, feature_code, only_current = 1, i;
int old_alloc_len, only_current_profile = 0, key, asc, ascq, ret; int old_alloc_len, key, asc, ascq, ret;
int feature_is_current; int feature_is_current;
unsigned char *descr, *prf, *up_to, *prf_end; unsigned char *descr, *prf, *up_to, *prf_end;
struct command *c = NULL; struct command *c = NULL;
@ -3139,8 +3139,6 @@ static int mmc_get_configuration_al(struct burn_drive *d, int *alloc_len)
memcpy(d->all_profiles, descr + 4, memcpy(d->all_profiles, descr + 4,
d->num_profiles * 4); d->num_profiles * 4);
for (prf = descr + 4; prf + 2 < prf_end; prf += 4) { for (prf = descr + 4; prf + 2 < prf_end; prf += 4) {
if (only_current_profile && !(prf[2] & 1))
continue;
#ifdef Libburn_print_feature_descriptorS #ifdef Libburn_print_feature_descriptorS
prf_number = (prf[0] << 8) | prf[1]; prf_number = (prf[0] << 8) | prf[1];