Reacted on compiler -O2 warnings

This commit is contained in:
2007-09-12 11:57:49 +00:00
parent 090861567d
commit 854a806292
3 changed files with 5 additions and 7 deletions

View File

@ -142,7 +142,7 @@ int spc_get_erase_progress(struct burn_drive *d)
struct buffer b;
if (mmc_function_spy(d, "get_erase_progress") <= 0)
return;
return 0;
spc_request_sense(d, &b);
return (b.data[16] << 8) | b.data[17];