mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
These were due to several functions occurring that would have the same TRAP key. By making the functions static the TRAP keys will differ from each other.
10 lines
99 B
C++
10 lines
99 B
C++
class C {
|
|
public:
|
|
C(int x, int y);
|
|
};
|
|
|
|
static void f() {
|
|
int i, j, k, l;
|
|
C c(i + j, k - l);
|
|
}
|