Skip to content

Commit 6ef961c

Browse files
jketemaCopilot
andcommitted
Move extractor option to first line
Keep the C++17 extractor option as the first line of the static-variable test. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 78c0dce commit 6ef961c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • cpp/ql/test/query-tests/Best Practices/Unused Entities/UnusedStaticVariables

‎cpp/ql/test/query-tests/Best Practices/Unused Entities/UnusedStaticVariables/test.cpp‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// semmle-extractor-options: -std=c++17
32
int globalVar; // GOOD (not static)
43
static int staticVar1; // GOOD (used)

0 commit comments

Comments
 (0)