summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/DynamicLoader/math.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DynamicLoader/math.cpp b/Userland/DynamicLoader/math.cpp
index 024ea742dd..49e60df34f 100644
--- a/Userland/DynamicLoader/math.cpp
+++ b/Userland/DynamicLoader/math.cpp
@@ -163,7 +163,7 @@ int64_t __moddi3(int64_t a, int64_t b)
b = (b ^ s) - s; // negate if s == -1
s = a >> bits_in_dword_m1; // s = a < 0 ? -1 : 0
a = (a ^ s) - s; // negate if s == -1
- uint64_t r;
+ uint64_t r = 0;
__udivmoddi4(a, b, &r);
return ((int64_t)r ^ s) - s; // negate if s == -1
}