Last update: February 19, 2023 Declaration of Variable with Unnecessarily Wide Scope The source code declares a variable in one scope, but then variable is only used within a narrower scope.