Skip to content

Commit

Permalink
Fix lint failure
Browse files Browse the repository at this point in the history
  • Loading branch information
wgtmac committed Sep 22, 2022
1 parent 2f80f98 commit b81cca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cpp/src/arrow/engine/substrait/relation_internal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,8 @@ Result<std::unique_ptr<substrait::ReadRel>> ScanRelationConverter(
// set local files
auto read_rel_lfs = std::make_unique<substrait::ReadRel::LocalFiles>();
for (const auto& file : dataset->files()) {
auto read_rel_lfs_ffs = std::make_unique<substrait::ReadRel::LocalFiles::FileOrFiles>();
auto read_rel_lfs_ffs =
std::make_unique<substrait::ReadRel::LocalFiles::FileOrFiles>();
read_rel_lfs_ffs->set_uri_path(UriFromAbsolutePath(file));
// set file format
auto format_type_name = dataset->format()->type_name();
Expand Down
2 changes: 0 additions & 2 deletions cpp/src/arrow/flight/cookie_internal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
#include "arrow/util/uri.h"
#include "arrow/util/value_parsing.h"

#include <memory>

// Mingw-w64 defines strcasecmp in string.h
#if defined(_WIN32) && !defined(strcasecmp)
#define strcasecmp stricmp
Expand Down

0 comments on commit b81cca9

Please sign in to comment.