am 00e165ae: am e8101c04: Merge "fix compiler error under FORTIFY_SOURCE=2"

* commit '00e165aed3d53b147b153003b3b9fd3c129ff3c4':
  fix compiler error under FORTIFY_SOURCE=2
This commit is contained in:
Nick Kralevich
2015-04-25 21:56:56 +00:00
committed by Android Git Automerger

View File

@@ -337,7 +337,9 @@ bool ObbFile::removeFrom(int fd)
return false;
}
ftruncate(fd, mFooterStart);
if (ftruncate(fd, mFooterStart) == -1) {
return false;
}
return true;
}