mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-25 21:27:30 +01:00
Also avoid maybe uninitialized warning.
This commit is contained in:
parent
37fdc4938f
commit
88bc492eb1
@ -59,6 +59,9 @@ String MarkdownRenderer::render_to_html(const String &markdown) {
|
|||||||
case RENDER_TYPE_HTML_TOC: {
|
case RENDER_TYPE_HTML_TOC: {
|
||||||
renderer = hoedown_html_toc_renderer_new(_toc_level);
|
renderer = hoedown_html_toc_renderer_new(_toc_level);
|
||||||
} break;
|
} break;
|
||||||
|
default: {
|
||||||
|
renderer = hoedown_html_renderer_new(static_cast<hoedown_html_flags>(_html_flags), _toc_level);
|
||||||
|
} break;
|
||||||
}
|
}
|
||||||
|
|
||||||
int hoedown_ext_flags = 0;
|
int hoedown_ext_flags = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user