mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
C++: Use interpolation to avoid a bad join order.
This commit is contained in:
@@ -110,6 +110,5 @@ from GlobalVariable v, Function f
|
||||
where
|
||||
uninitialisedBefore(v, f) and
|
||||
useFunc(v, f)
|
||||
select f,
|
||||
"The variable '" + v.getName() + "'" +
|
||||
" is used in this function but may not be initialized when it is called."
|
||||
select f, "The variable $@ is used in this function but may not be initialized when it is called.",
|
||||
v, v.getName()
|
||||
|
||||
Reference in New Issue
Block a user