Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1c863b1

Browse filesBrowse files
authored
Merge pull request #19476 from yoff/ruby/DeadStoreOfLocal-precision-high
ruby: adjust precision of `rb/useless-assignment-to-local`
2 parents 4cc9c24 + a501678 commit 1c863b1
Copy full SHA for 1c863b1

File tree

3 files changed

+7
-1
lines changed
Filter options

3 files changed

+7
-1
lines changed
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
ql/ruby/ql/src/queries/performance/DatabaseQueryInLoop.ql
2+
ql/ruby/ql/src/queries/variables/DeadStoreOfLocal.ql
23
ql/ruby/ql/src/queries/variables/UninitializedLocal.ql
+5Lines 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

Copy file name to clipboardExpand all lines: ruby/ql/src/queries/variables/DeadStoreOfLocal.ql
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.