svn commit: r282117 - head/contrib/libxo/libxo

Marcel Moolenaar marcel at FreeBSD.org
Mon Apr 27 21:58:42 UTC 2015


Author: marcel
Date: Mon Apr 27 21:58:41 2015
New Revision: 282117
URL: https://svnweb.freebsd.org/changeset/base/282117

Log:
  Fix build breakage with GCC.
  
  Pointed out by: bz@

Modified:
  head/contrib/libxo/libxo/libxo.c

Modified: head/contrib/libxo/libxo/libxo.c
==============================================================================
--- head/contrib/libxo/libxo/libxo.c	Mon Apr 27 21:38:12 2015	(r282116)
+++ head/contrib/libxo/libxo/libxo.c	Mon Apr 27 21:58:41 2015	(r282117)
@@ -3520,7 +3520,7 @@ xo_colors_handle_text (xo_handle_t *xop 
     char *cp = buf, *ep = buf + sizeof(buf);
     unsigned i, bit;
     xo_colors_t *oldp = &xop->xo_colors;
-    const char *code;
+    const char *code = NULL;
 
     /*
      * Start the buffer with an escape.  We don't want to add the '['


More information about the svn-src-head mailing list