Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2015 21:58:41 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r282117 - head/contrib/libxo/libxo
Message-ID:  <201504272158.t3RLwfJs020279@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 '['



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504272158.t3RLwfJs020279>