winebuild: Document the correlation of spec->ordinals and spec->limit with an assertion (Coverity 902).

This commit is contained in:
James Hawkins 2009-03-22 14:32:51 -07:00 committed by Alexandre Julliard
parent 474276d569
commit 665a0424cd

View File

@ -549,6 +549,7 @@ static void output_module16( DLLSPEC *spec )
if (!spec->ordinals)
{
assert(spec->limit == 0);
spec->ordinals = xmalloc( sizeof(spec->ordinals[0]) );
spec->ordinals[0] = NULL;
}