mirror of
https://github.com/akuker/RASCSI.git
synced 2024-09-29 13:54:48 +00:00
Fixed Eclipse warning
This commit is contained in:
parent
f178221aff
commit
c78ff8fce1
@ -740,7 +740,7 @@ bool CreateImage(int fd, const PbCommand& command)
|
|||||||
catch(const out_of_range& e) {
|
catch(const out_of_range& e) {
|
||||||
return ReturnStatus(fd, false, "Invalid image file size " + command.params().Get(1));
|
return ReturnStatus(fd, false, "Invalid image file size " + command.params().Get(1));
|
||||||
}
|
}
|
||||||
if (len < 512 || len & 0x1ff) {
|
if (len < 512 || (len & 0x1ff)) {
|
||||||
ostringstream error;
|
ostringstream error;
|
||||||
error << "Invalid image file size " << len;
|
error << "Invalid image file size " << len;
|
||||||
return ReturnStatus(fd, false, error.str());
|
return ReturnStatus(fd, false, error.str());
|
||||||
|
Loading…
Reference in New Issue
Block a user