mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 00:02:57 +02:00
Fix unused variable warning in CrashHelpers.h
This commit is contained in:
parent
0c1277ae7a
commit
91da4229ac
1 changed files with 3 additions and 3 deletions
|
@ -73,8 +73,8 @@ void newFault() {
|
|||
qDebug() << "About to crash inside new fault";
|
||||
// Force crash with large allocation
|
||||
int* crash = new int[std::numeric_limits<uint64_t>::max()];
|
||||
}
|
||||
|
||||
// Use variable to suppress warning
|
||||
crash[0] = 0;
|
||||
}
|
||||
|
||||
#endif // hifi_CrashHelpers_h
|
||||
|
|
Loading…
Reference in a new issue