Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2016 14:59:51 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r297923 - head/lib/libvgl
Message-ID:  <201604131459.u3DExpB7079537@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Wed Apr 13 14:59:50 2016
New Revision: 297923
URL: https://svnweb.freebsd.org/changeset/base/297923

Log:
  libvgl: do not initialize static storage.
  
  The pointer value was being initialized to 0. While it would
  have been better to use NULL here, it is static storage so
  there is no need to do so.

Modified:
  head/lib/libvgl/text.c

Modified: head/lib/libvgl/text.c
==============================================================================
--- head/lib/libvgl/text.c	Wed Apr 13 13:14:18 2016	(r297922)
+++ head/lib/libvgl/text.c	Wed Apr 13 14:59:50 2016	(r297923)
@@ -33,7 +33,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/fbio.h>
 #include "vgl.h"
 
-static VGLText		*VGLTextFont = 0;
+static VGLText		*VGLTextFont;
 
 extern byte VGLFont[];
 



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