mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +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.
12 lines
86 B
C++
12 lines
86 B
C++
class C {
|
|
public:
|
|
int i;
|
|
};
|
|
|
|
static void f() {
|
|
C c;
|
|
int a, b;
|
|
c.i = a + b;
|
|
;
|
|
}
|