forked from OSchip/llvm-project
Silence warning about unused private variable.
llvm-svn: 325275
This commit is contained in:
parent
acd8791c26
commit
2061ad2f83
|
@ -643,7 +643,9 @@ std::error_code mapped_file_region::init(int FD, uint64_t Offset,
|
|||
|
||||
mapped_file_region::mapped_file_region(int fd, mapmode mode, size_t length,
|
||||
uint64_t offset, std::error_code &ec)
|
||||
: Size(length), Mapping() {
|
||||
: Size(length), Mapping(), FD(fd), Mode(mode) {
|
||||
(void)FD;
|
||||
(void)Mode;
|
||||
ec = init(fd, offset, mode);
|
||||
if (ec)
|
||||
Mapping = nullptr;
|
||||
|
|
Loading…
Reference in New Issue