* commit '00e165aed3d53b147b153003b3b9fd3c129ff3c4': fix compiler error under FORTIFY_SOURCE=2
This commit is contained in:
@@ -337,7 +337,9 @@ bool ObbFile::removeFrom(int fd)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
ftruncate(fd, mFooterStart);
|
if (ftruncate(fd, mFooterStart) == -1) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user