diff options
author | pfg <pfg@FreeBSD.org> | 2016-04-13 14:59:50 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-04-13 14:59:50 +0000 |
commit | 1e9dcae23e4d877badbc3d3af39e9c08480f628b (patch) | |
tree | 0736279357fb827f28ffdf44bf08d39e5b40e4d8 | |
parent | 61e0784a43f3967e3411e2b28af1fd65ddf81a6b (diff) | |
download | FreeBSD-src-1e9dcae23e4d877badbc3d3af39e9c08480f628b.zip FreeBSD-src-1e9dcae23e4d877badbc3d3af39e9c08480f628b.tar.gz |
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.
-rw-r--r-- | lib/libvgl/text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libvgl/text.c b/lib/libvgl/text.c index 02ee420..289dd01 100644 --- a/lib/libvgl/text.c +++ b/lib/libvgl/text.c @@ -33,7 +33,7 @@ __FBSDID("$FreeBSD$"); #include <sys/fbio.h> #include "vgl.h" -static VGLText *VGLTextFont = 0; +static VGLText *VGLTextFont; extern byte VGLFont[]; |