diff options
| author | 2018-12-19 12:52:32 +1100 | |
|---|---|---|
| committer | 2018-12-19 12:52:32 +1100 | |
| commit | fdd649e2ef56ea473e253511d35fe6c10e0fb241 (patch) | |
| tree | 82bf8e6a7cd1dd344c9bb0b3a728fc17c38de629 /src/core/hle/kernel/object.cpp | |
| parent | Merge pull request #1913 from MerryMage/default-fpcr (diff) | |
| download | yuzu-fdd649e2ef56ea473e253511d35fe6c10e0fb241.tar.gz yuzu-fdd649e2ef56ea473e253511d35fe6c10e0fb241.tar.xz yuzu-fdd649e2ef56ea473e253511d35fe6c10e0fb241.zip | |
Fixed uninitialized memory due to missing returns in canary
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
Diffstat (limited to 'src/core/hle/kernel/object.cpp')
| -rw-r--r-- | src/core/hle/kernel/object.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/object.cpp b/src/core/hle/kernel/object.cpp index 0ea851a74..806078638 100644 --- a/src/core/hle/kernel/object.cpp +++ b/src/core/hle/kernel/object.cpp | |||
| @@ -32,6 +32,7 @@ bool Object::IsWaitable() const { | |||
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | UNREACHABLE(); | 34 | UNREACHABLE(); |
| 35 | return false; | ||
| 35 | } | 36 | } |
| 36 | 37 | ||
| 37 | } // namespace Kernel | 38 | } // namespace Kernel |