Reacted on compiler warnings
This commit is contained in:
parent
7b0e98954b
commit
5f728bd634
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2007.09.04.224905"
|
||||
#define Cdrskin_timestamP "2007.09.04.225558"
|
||||
|
@ -409,6 +409,7 @@ int burn_read_data(struct burn_drive *d, off_t byte_address,
|
||||
} else {
|
||||
ret = burn_stdio_read(fd, (char *) d->buffer->data,
|
||||
cpy_size, d, 0);
|
||||
err = 0;
|
||||
if (ret <= 0)
|
||||
err = BE_CANCELLED;
|
||||
}
|
||||
|
@ -2250,6 +2250,7 @@ int burn_random_access_write(struct burn_drive *d, off_t byte_address,
|
||||
} else {
|
||||
ret = burn_stdio_write(fd, (char *) d->buffer->data,
|
||||
d->buffer->bytes, d, 0);
|
||||
err = 0;
|
||||
if (ret <= 0)
|
||||
err = BE_CANCELLED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user