Skip to content

Commit

Permalink
remove two unused variables to quiet warning (#1409)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradgrantham-lunarg authored Mar 6, 2024
1 parent 9847057 commit b9a9916
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion framework/util/options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ std::vector<UintRange> GetUintRanges(const char* args, const char* option_name)
}
else
{
const auto& back = ranges.back();
GFXRECON_LOG_WARNING("Ignoring invalid range \"%s\" for %s, where the range \"%s\" overlaps with the "
"previous range \"%s\"",
range.c_str(),
Expand Down
3 changes: 1 addition & 2 deletions framework/util/strings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ std::vector<std::string> SplitString(const std::string_view compound, const char
else
{
// Split string on separator.
bool invalid = false;
std::istringstream range_input;
range_input.str(std::string{ compound });

Expand Down Expand Up @@ -87,4 +86,4 @@ std::string_view ViewOfCharArray(const char* array, const size_t capacity)

GFXRECON_END_NAMESPACE(strings)
GFXRECON_END_NAMESPACE(util)
GFXRECON_END_NAMESPACE(gfxrecon)
GFXRECON_END_NAMESPACE(gfxrecon)

0 comments on commit b9a9916

Please sign in to comment.