Tidy up file_posix unused variable

This commit is contained in:
Vinnie Falco
2017-07-10 16:43:58 -07:00
parent fa3c256883
commit 93ae544f9c
2 changed files with 3 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ Version 78:
* Tidy up FieldsReader doc * Tidy up FieldsReader doc
* Add Boost.Locale utf8 benchmark comparison * Add Boost.Locale utf8 benchmark comparison
* Tidy up dstream for existing Boost versions * Tidy up dstream for existing Boost versions
* Tidy up file_posix unused variable
HTTP: HTTP:

View File

@@ -114,7 +114,9 @@ open(char const* path, file_mode mode, error_code& ec)
fd_ = -1; fd_ = -1;
} }
int f = 0; int f = 0;
#ifndef __APPLE__
int advise = 0; int advise = 0;
#endif
switch(mode) switch(mode)
{ {
default: default: