From cff080f8dfcbf3b5729a38bbe5ba4bc80a1a4d79 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 11 Nov 2022 09:40:55 +0100 Subject: cruft for the cruft god --- anim-crop-tool/main.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'anim-crop-tool') diff --git a/anim-crop-tool/main.cpp b/anim-crop-tool/main.cpp index ae3c2af3..15335d84 100644 --- a/anim-crop-tool/main.cpp +++ b/anim-crop-tool/main.cpp @@ -229,8 +229,6 @@ static std::tuple parse_cmdline(int argc, const char* [[nodiscard]] static bool check_atlas_name(StringView str) noexcept { - constexpr auto npos = std::string::npos; - if (str.isEmpty()) return false; if (str[0] == '.' || str[0] == '\\' || str[0] == '/') -- cgit v1.2.3