Skip to content

Commit

Permalink
Fix shadowArgument issue reported by cppcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ufleisch committed Jan 2, 2024
1 parent 9a02697 commit a6dbc70
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion taglib/toolkit/tvariant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ void printVariantToStream(std::ostream &s, const StdVariantType &v)
break;
case Variant::StringList:
if(const auto valPtr = std::get_if<Variant::StringList>(&v)) {
const auto v = *valPtr;
s << '[';
for(auto it = valPtr->cbegin(); it != valPtr->cend(); ++it) {
if(it != valPtr->cbegin()) {
Expand Down

0 comments on commit a6dbc70

Please sign in to comment.