[vala/0.40] libvaladoc: Handle missing Run.Style.NONE in switch



commit d49b48de1c23a6cb299a2bacbc79cde68bd34aab
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Mar 31 10:33:30 2019 +0200

    libvaladoc: Handle missing Run.Style.NONE in switch

 libvaladoc/html/htmlrenderer.vala | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/libvaladoc/html/htmlrenderer.vala b/libvaladoc/html/htmlrenderer.vala
index 9a8c1713e..08a0f52b8 100644
--- a/libvaladoc/html/htmlrenderer.vala
+++ b/libvaladoc/html/htmlrenderer.vala
@@ -534,6 +534,9 @@ public class Valadoc.Html.HtmlRenderer : ContentRenderer {
                        tag = "span";
                        css_type = "xml_cdata";
                        break;
+
+               case Run.Style.NONE:
+                       break;
                }
                if (tag != null) {
                        writer.start_tag (tag, {"class", css_type});


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]