Skip to content

Commit 1542fdc

Browse files
committed
CPP: Change AV Rule 107.ql to a recommendation.
1 parent 96136a1 commit 1542fdc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cpp/ql/src/jsf/4.13 Functions/AV Rule 107.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* @name Function declared in block
33
* @description Functions should always be declared at file scope. It is confusing to declare a function at block scope, and the visibility of the function is not what would be expected.
44
* @kind problem
5-
* @problem.severity warning
6-
* @precision high
5+
* @problem.severity recommendation
6+
* @precision very-high
77
* @id cpp/function-in-block
88
* @tags maintainability
99
* readability

0 commit comments

Comments
 (0)