commit | fdf64bcac0e52f1c83463a36b21923ec6a550614 | [log] [tgz] |
---|---|---|
author | Gavin Howard <yzena.tech@gmail.com> | Mon Jan 07 16:52:54 2019 -0700 |
committer | Gavin Howard <yzena.tech@gmail.com> | Mon Jan 07 16:52:54 2019 -0700 |
tree | 08e43f5c4b7b8d50bcb3d68ba9dafc72e1d43d47 | |
parent | b972bebc52ce04a1937c8b0ee62b128b68f8c4d9 [diff] [blame] |
Silence some compiler warnings
diff --git a/src/num.c b/src/num.c index 57435e3..2b8c69c 100644 --- a/src/num.c +++ b/src/num.c
@@ -1180,6 +1180,8 @@ assert(n && result); + *result = 0; + if (n->neg) return bc_vm_err(BC_ERROR_MATH_NEGATIVE); for (r = 0, pow = 1, i = n->rdx; i < n->len; ++i) {