From 11687e9e437ae63f1e2a03f2bbcd59fa7b5b5594 Mon Sep 17 00:00:00 2001 From: Stanislav Motylkov Date: Wed, 2 Jun 2021 13:18:40 +0300 Subject: [PATCH] [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)