svn commit: r297923 - head/lib/libvgl

Pedro F. Giffuni pfg at FreeBSD.org
Wed Apr 13 14:59:52 UTC 2016


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[];
 


More information about the svn-src-all mailing list