bug fix: assert on unassigned variable dim

This commit is contained in:
Gregor Weiss 2024-04-12 10:34:13 +02:00
parent 695d518f76
commit bf719d3a1d
Signed by: Gregor Weiss
GPG key ID: 61E170A8BBFE5756

View file

@ -1658,7 +1658,6 @@ bwc_add_param(bwc_data* data, char *name, uint8 precision)
! DEFINE ASSERTIONS: !
\*-----------------------*/
assert(data);
assert(dim <= DIM_ALL);
/*--------------------------------------------------------*\
! Save the global info structure to a temporary variable !