src/c2html.c

changeset 75
c72b250866ab
parent 71
d5af9261231d
--- a/src/c2html.c	Sun Oct 01 14:41:17 2023 +0200
+++ b/src/c2html.c	Wed Jul 10 21:35:37 2024 +0200
@@ -55,8 +55,7 @@
 
     /* process lines */
     int lineno = 0;
-    c2html_highlighter_data hd;
-    hd.multiline_comment = 0;
+    c2html_highlighter_data hd = {0};
     cxBufferInit(&hd.primary_buffer, NULL, 256, NULL, CX_BUFFER_AUTO_EXTEND);
     cxBufferInit(&hd.secondary_buffer, NULL, 32, NULL, CX_BUFFER_AUTO_EXTEND);
     CxBuffer out_line;

mercurial