Skip to content

Commit fdddec7

Browse files
committed
Merge branch 'main' into break-bigstep-at-store
2 parents ba9267d + 5c50ed0 commit fdddec7

File tree

9 files changed

+4
-49
lines changed

9 files changed

+4
-49
lines changed

cpp/ql/src/Critical/GlobalUseBeforeInit.ql

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,5 @@ from GlobalVariable v, Function f
110110
where
111111
uninitialisedBefore(v, f) and
112112
useFunc(v, f)
113-
select f,
114-
"The variable '" + v.getName() + "'" +
115-
" is used in this function but may not be initialized when it is called."
113+
select f, "The variable $@ is used in this function but may not be initialized when it is called.",
114+
v, v.getName()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| test.cpp:27:5:27:6 | f1 | The variable 'b' is used in this function but may not be initialized when it is called. |
1+
| test.cpp:27:5:27:6 | f1 | The variable $@ is used in this function but may not be initialized when it is called. | test.cpp:14:5:14:5 | b | b |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The test files in this directory were causing some issues with `git`, due to the use of CRLF line endings. For this reason they have been temporarily removed. You can consult the commit history for when this file was added to see what they looked like.

python/ql/test/extractor-tests/line_endings/Test.expected

Lines changed: 0 additions & 4 deletions
This file was deleted.

python/ql/test/extractor-tests/line_endings/Test.ql

Lines changed: 0 additions & 4 deletions
This file was deleted.

python/ql/test/extractor-tests/line_endings/continuation.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

python/ql/test/extractor-tests/line_endings/feeds.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

python/ql/test/extractor-tests/line_endings/string_cr_conversion.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

python/ql/test/extractor-tests/line_endings/test.py

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)