mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 21:30:14 -05:00
Update to latest coverity scan
This commit is contained in:
parent
272853e40a
commit
b86e06f415
2 changed files with 2 additions and 1 deletions
|
|
@ -48,6 +48,7 @@ STREAM* sopen_read(const char* file)
|
||||||
/* advise sequential access */
|
/* advise sequential access */
|
||||||
ret = posix_fadvise(s->handle[0].f, 0, 0, POSIX_FADV_SEQUENTIAL);
|
ret = posix_fadvise(s->handle[0].f, 0, 0, POSIX_FADV_SEQUENTIAL);
|
||||||
if (ret == ENOSYS) {
|
if (ret == ENOSYS) {
|
||||||
|
log_fatal("WARNING! fadvise() is not supported in this platform. Performance may not be optimal!\n");
|
||||||
/* call is not supported, like in armhf, see posix_fadvise manpage */
|
/* call is not supported, like in armhf, see posix_fadvise manpage */
|
||||||
ret = 0;
|
ret = 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ if ! ./configure ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PATH=$PATH:contrib/cov-analysis-linux-7.7.0.4/bin
|
export PATH=$PATH:contrib/cov-analysis-linux-8.5.0.1/bin
|
||||||
|
|
||||||
if ! cov-build --dir cov-int make; then
|
if ! cov-build --dir cov-int make; then
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue