Skip to content

survive_disambiguator.c: handle_lightcap: early out with false when _le->length == 0#316

Open
throni3git wants to merge 1 commit into
collabora:masterfrom
throni3git:fix/disambiguator-assert-lightelements-length-bigger-than-zero
Open

survive_disambiguator.c: handle_lightcap: early out with false when _le->length == 0#316
throni3git wants to merge 1 commit into
collabora:masterfrom
throni3git:fix/disambiguator-assert-lightelements-length-bigger-than-zero

Conversation

@throni3git

Copy link
Copy Markdown

This broke my program flow sometimes. See #311


SurviveContext *ctx = so->ctx;

// "assert(_le->length > 0);" sometimes breaks the whole program, so instead just return success = false and go on

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment isnt relevant anymore, the assert has been removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants