Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ffc.h
Original file line number Diff line number Diff line change
Expand Up @@ -1640,7 +1640,8 @@ bool ffc_sv_try_extend(ffc_sv* sv, ffc_bigint_limb_span s) {
// create from existing limb span.
ffc_internal ffc_inline
ffc_sv ffc_sv_create(ffc_bigint_limb_span s) {
ffc_sv new_one = {0};
ffc_sv new_one;
new_one.len = 0;
ffc_sv_try_extend(&new_one, s);
return new_one;
}
Expand Down
3 changes: 2 additions & 1 deletion src/bigint.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ bool ffc_sv_try_extend(ffc_sv* sv, ffc_bigint_limb_span s) {
// create from existing limb span.
ffc_internal ffc_inline
ffc_sv ffc_sv_create(ffc_bigint_limb_span s) {
ffc_sv new_one = {0};
ffc_sv new_one;
new_one.len = 0;
ffc_sv_try_extend(&new_one, s);
return new_one;
}
Expand Down