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

Commits on Jan 21, 2024

  1. md_is_html_cdata: Remove not needed max_end shrinking.

    md_scan_for_html_closer() handles that internally.
    mity committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    c0e390f View commit details
    Browse the repository at this point in the history
  2. md_process_table_row: Remove not needed freeing of ptr_stack.

    This is already handled universally in
    md_process_normal_block_contents() which is called from
    md_process_table_row() via md_process_table_cell().
    mity committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    9381eb8 View commit details
    Browse the repository at this point in the history
  3. md_opener_stack: Mark the default branch of switch as unreachable.

    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 committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    58c87ed View commit details
    Browse the repository at this point in the history