Skip to content

Commit

Permalink
[Minor][C++] Fix compile warning (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
yixinglu authored Mar 17, 2023
1 parent e4dcbfe commit c03ce2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
.idea
.DS_store
.cache
.ccls-cache

compile_commands.json
1 change: 1 addition & 0 deletions cpp/src/filesystem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ Result<T> FileSystem::ReadFileToValue(const std::string& path) const noexcept {
arrow_fs_->OpenInputStream(path));
GAR_RETURN_ON_ARROW_ERROR_AND_ASSIGN(auto bytes,
input->Read(sizeof(T), &ret));
ARROW_UNUSED(bytes);
return ret;
}

Expand Down

0 comments on commit c03ce2a

Please sign in to comment.