Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dead code #227

Merged
merged 3 commits into from
Jan 21, 2024
Merged

Remove dead code #227

merged 3 commits into from
Jan 21, 2024

Conversation

mity
Copy link
Owner

@mity mity commented Jan 21, 2024

Remove some unnecessary/duplicated code.

md_scan_for_html_closer() handles that internally.
This is already handled universally in
md_process_normal_block_contents() which is called from
md_process_table_row() via md_process_table_cell().
We were returning NULL previously, but that would lead to a crash
anyway; all callsites expect to get their respective stack anyway
and anything else would mean we are internally broken.
@mity mity merged commit 83e093f into master Jan 21, 2024
11 of 12 checks passed
@mity mity deleted the remove_dead_code branch January 21, 2024 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant