Commit 2196025d authored by Victor Zverovich's avatar Victor Zverovich

Fix a warning

parent 589f5f37
......@@ -223,9 +223,9 @@ buffered_file file::fdopen(const char *mode) {
if (!f)
FMT_THROW(system_error(errno,
"cannot associate stream with file descriptor"));
buffered_file file(f);
buffered_file bf(f);
fd_ = -1;
return file;
return bf;
}
long getpagesize() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment