Shut up some warnings
This commit is contained in:
parent
82e2a070e0
commit
816d3e5724
2 changed files with 2 additions and 2 deletions
|
|
@ -124,7 +124,7 @@ LocalStore::LocalStore(const Params & params)
|
|||
#endif
|
||||
if (res == -1) {
|
||||
writeFull(fd.get(), string(settings.reservedSize, 'X'));
|
||||
ftruncate(fd.get(), settings.reservedSize);
|
||||
[[gnu::unused]] auto res2 = ftruncate(fd.get(), settings.reservedSize);
|
||||
}
|
||||
}
|
||||
} catch (SysError & e) { /* don't care about errors */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue