Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5a312cd

Browse files
committed
update cpp/complex-block to match java/csharp
1 parent b1c9843 commit 5a312cd

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

cpp/ql/src/Best Practices/BlockWithTooManyStatements.ql

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,4 @@ where
2929
n = strictcount(ComplexStmt s | s = b.getAStmt()) and
3030
n > 3 and
3131
complexStmt = b.getAStmt()
32-
select b,
33-
"Block with too many statements (" + n.toString() +
34-
" complex statements in the block). Complex statements at: $@", complexStmt,
35-
complexStmt.toString()
32+
select b, "Block with too many statements (" + n.toString() + " complex statements in the block)."

0 commit comments

Comments
 (0)