mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
improve alert message for js/useless-assignment-to-local
This commit is contained in:
@@ -166,3 +166,11 @@ function v() {
|
||||
x;
|
||||
y;
|
||||
});
|
||||
|
||||
(function() {
|
||||
if (something()) {
|
||||
var nSign = foo;
|
||||
} else {
|
||||
console.log(nSign);
|
||||
}
|
||||
})()
|
||||
|
||||
Reference in New Issue
Block a user