Skip to content

Commit 9675f0f

Browse files
committed
ruby: adjust precision of rb/useless-assignment-to-local
from `medium` to `high`
1 parent d3282a9 commit 9675f0f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
category: queryMetadata
3+
---
4+
5+
* The precision of `rb/useless-assignment-to-local` has been adjusted from `medium` to `high`.

ruby/ql/src/queries/variables/DeadStoreOfLocal.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @tags maintainability
99
* quality
1010
* external/cwe/cwe-563
11-
* @precision medium
11+
* @precision high
1212
*/
1313

1414
import codeql.ruby.AST

0 commit comments

Comments
 (0)