C++: Use interpolation to avoid a bad join order.

This commit is contained in:
Mathias Vorreiter Pedersen
2024-04-16 16:24:08 +01:00
parent c647f30576
commit c3cf425079
2 changed files with 3 additions and 4 deletions

View File

@@ -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()