https://git.reactos.org/?p=reactos.git;a=commitdiff;h=11687e9e437ae63f1e2a03...
commit 11687e9e437ae63f1e2a03f2bbcd59fa7b5b5594 Author: Stanislav Motylkov x86corez@gmail.com AuthorDate: Wed Jun 2 13:18:40 2021 +0300 Commit: Stanislav Motylkov x86corez@gmail.com CommitDate: Wed Jun 2 13:18:40 2021 +0300
[CRT][ARM] Fix uninitialized variables caught by RTC
CORE-17613 --- sdk/lib/crt/math/arm/__rt_div_worker.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/lib/crt/math/arm/__rt_div_worker.h b/sdk/lib/crt/math/arm/__rt_div_worker.h index 63ea6349328..2aef926d0d9 100644 --- a/sdk/lib/crt/math/arm/__rt_div_worker.h +++ b/sdk/lib/crt/math/arm/__rt_div_worker.h @@ -44,8 +44,8 @@ __rt_div_worker( UINT3264 mask; UINT3264 quotient; #ifdef _SIGNED_DIV_ - int dividend_sign; - int divisor_sign; + int dividend_sign = 0; + int divisor_sign = 0; #endif // _SIGNED_DIV_
if (divisor == 0)