Merge pull request #1285 from masmullin2000/v1.x

Remove unused variable
This commit is contained in:
Gabi Melman 2019-10-25 22:22:59 +03:00 committed by GitHub
commit b848ff8db9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -498,7 +498,6 @@ SPDLOG_INLINE bool create_dir(filename_t path)
size_t search_offset = 0;
do
{
fmt::string_view t;
auto token_pos = path.find(folder_sep, search_offset);
// treat the entire path as a folder if no folder separator not found
if (token_pos == filename_t::npos)