mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Fix a warning
This commit is contained in:
parent
589f5f37b6
commit
2196025dd1
@ -223,9 +223,9 @@ buffered_file file::fdopen(const char *mode) {
|
|||||||
if (!f)
|
if (!f)
|
||||||
FMT_THROW(system_error(errno,
|
FMT_THROW(system_error(errno,
|
||||||
"cannot associate stream with file descriptor"));
|
"cannot associate stream with file descriptor"));
|
||||||
buffered_file file(f);
|
buffered_file bf(f);
|
||||||
fd_ = -1;
|
fd_ = -1;
|
||||||
return file;
|
return bf;
|
||||||
}
|
}
|
||||||
|
|
||||||
long getpagesize() {
|
long getpagesize() {
|
||||||
|
Loading…
Reference in New Issue
Block a user