mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +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.
21 lines
217 B
C++
21 lines
217 B
C++
namespace eehandler {
|
|
|
|
static void f() {
|
|
try {
|
|
try {
|
|
throw 1;
|
|
} catch (int i) {
|
|
} catch (...) {
|
|
}
|
|
} catch (int j) {
|
|
}
|
|
}
|
|
|
|
void g(bool condition) {
|
|
try {
|
|
if (condition) throw 1;
|
|
} catch (...) {
|
|
}
|
|
}
|
|
}
|