aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/bigfloat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/stage1/bigfloat.cpp')
-rw-r--r--src/stage1/bigfloat.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stage1/bigfloat.cpp b/src/stage1/bigfloat.cpp
index 840cdccc8b..56bf2637e3 100644
--- a/src/stage1/bigfloat.cpp
+++ b/src/stage1/bigfloat.cpp
@@ -69,7 +69,7 @@ void bigfloat_init_bigint(BigFloat *dest, const BigInt *op) {
}
}
-Error bigfloat_init_buf(BigFloat *dest, const uint8_t *buf_ptr, size_t buf_len) {
+Error bigfloat_init_buf(BigFloat *dest, const uint8_t *buf_ptr) {
char *str_begin = (char *)buf_ptr;
char *str_end;
@@ -79,7 +79,6 @@ Error bigfloat_init_buf(BigFloat *dest, const uint8_t *buf_ptr, size_t buf_len)
return ErrorOverflow;
}
- assert(str_end <= ((char*)buf_ptr) + buf_len);
return ErrorNone;
}