Skip to content

Commit

Permalink
Fix a compile error with dc only
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin Howard committed Jan 8, 2019
1 parent 2f75220 commit 1c5091f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/program.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,9 @@ BcStatus bc_program_binPrep(BcProgram *p, BcResult **l, BcNum **ln,

lt = (*l)->t;

#if BC_ENABLED
assert(lt != BC_RESULT_VOID && (*r)->t != BC_RESULT_VOID);
#endif // BC_ENABLED

// We run this again under these conditions in case any vector has been
// reallocated out from under the BcNums or arrays we had.
Expand Down

0 comments on commit 1c5091f

Please sign in to comment.