bug fix: assert on unassigned variable dim
This commit is contained in:
parent
695d518f76
commit
bf719d3a1d
1 changed files with 0 additions and 1 deletions
|
@ -1658,7 +1658,6 @@ bwc_add_param(bwc_data* data, char *name, uint8 precision)
|
||||||
! DEFINE ASSERTIONS: !
|
! DEFINE ASSERTIONS: !
|
||||||
\*-----------------------*/
|
\*-----------------------*/
|
||||||
assert(data);
|
assert(data);
|
||||||
assert(dim <= DIM_ALL);
|
|
||||||
|
|
||||||
/*--------------------------------------------------------*\
|
/*--------------------------------------------------------*\
|
||||||
! Save the global info structure to a temporary variable !
|
! Save the global info structure to a temporary variable !
|
||||||
|
|
Loading…
Reference in a new issue