Skip to content

Commit b1d1250

Browse files
committed
Dead code removal
Signed-off-by: Larry Gritz <[email protected]>
1 parent 2a77172 commit b1d1250

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/libutil/filesystem.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,10 +1003,9 @@ Filesystem::scan_for_matching_filenames(const std::string& pattern,
10031003
// case 3: pattern has format, but no view
10041004
return scan_for_matching_filenames(pattern, frame_numbers, filenames);
10051005
}
1006-
1007-
return true;
10081006
}
10091007

1008+
10101009
bool
10111010
Filesystem::scan_for_matching_filenames(const std::string& pattern_,
10121011
std::vector<int>& numbers,
@@ -1285,10 +1284,6 @@ Filesystem::IOFile::pwrite(const void* buf, size_t size, int64_t offset)
12851284
// FIXME: the system pwrite returns ssize_t and is -1 on error.
12861285
return r < 0 ? size_t(0) : size_t(r);
12871286
#endif
1288-
offset += r;
1289-
if (m_pos > int64_t(m_size))
1290-
m_size = offset;
1291-
return r;
12921287
}
12931288

12941289
size_t

0 commit comments

Comments
 (0)