mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
go: add a precision tag to go/examples/deferinloop
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
* This can lead to unintentionally holding resources open like file handles or database transactions.
|
||||
* @id go/examples/deferinloop
|
||||
* @kind problem
|
||||
* @problem.severity warning
|
||||
* @precision high
|
||||
* @tags defer
|
||||
* nesting
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user