mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 11:00:19 +02:00
Initialize class fields to null/zero
Silence a couple of static analyzer warnings.
This commit is contained in:
1 parent
c3de7c63b4
commit
4565f2b689
2 files changed
+4
-1
No files matched your search
@@ -345,7 +345,7 @@ private:
|
||||
bool SlowPath = false;
|
||||
// Keeping IREmitter not to pass arguments around
|
||||
IREmitter* IREmit = nullptr;
|
||||
IRListView* IR;
|
||||
IRListView* IR = nullptr;
|
||||
};
|
||||
|
||||
inline void X87StackOptimization::InvalidateCaches() {
|
||||
|
||||
@@ -1343,6 +1343,9 @@ struct shmid_ds_32 {
|
||||
shm_cpid = buf.shm_cpid;
|
||||
shm_lpid = buf.shm_lpid;
|
||||
shm_nattch = buf.shm_nattch;
|
||||
shm_unused = 0;
|
||||
shm_unused2 = 0;
|
||||
shm_unused3 = 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user