We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f8ec2a2 + a99b2df commit 934e40eCopy full SHA for 934e40e
src/httpfs.cpp
@@ -659,10 +659,7 @@ string HTTPFileSystem::GetVersionTag(FileHandle &handle) {
659
bool HTTPFileSystem::FileExists(const string &filename, optional_ptr<FileOpener> opener) {
660
try {
661
auto handle = OpenFile(filename, FileFlags::FILE_FLAGS_READ, opener);
662
- auto &sfh = handle->Cast<HTTPFileHandle>();
663
- if (sfh.length == 0) {
664
- return false;
665
- }
+ (void)handle; // suppress warning
666
return true;
667
} catch (...) {
668
return false;
0 commit comments