ReneNyffenegger / cpp-base64

base64 encoding and decoding with c++
Other
891 stars 311 forks source link

fix static analysis warning #8

Closed ipodipad closed 4 years ago

ipodipad commented 5 years ago

cppcheck says cppcheck:variableScope. see https://stackoverflow.com/questions/23604699/cppcheck-the-scope-of-the-variable-can-be-reduced-and-loop

ipodipad commented 5 years ago

@ReneNyffenegger Hello again, I guess many companies use this opensource library, and always makes developer annoyed because of static analysis' trivial warning which is not really meaningful. However, rule is the rule, so please review make this submitted so that developer like me released from this annoying messages. Thank you