From a3e44f453190114281a83e93740be8c2b25274b6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 8 Mar 2002 19:44:28 +0000 Subject: fix some minor warnings --- progs/xdemos/glxinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'progs/xdemos/glxinfo.c') diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c index 58baf82345..00b4f0458a 100644 --- a/progs/xdemos/glxinfo.c +++ b/progs/xdemos/glxinfo.c @@ -1,4 +1,4 @@ -/* $Id: glxinfo.c,v 1.14 2001/04/24 20:57:36 brianp Exp $ */ +/* $Id: glxinfo.c,v 1.15 2002/03/08 19:44:28 brianp Exp $ */ /* * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. @@ -408,7 +408,7 @@ print_visual_attribs_short_header(void) static void print_visual_attribs_short(const struct visual_attribs *attribs) { - char *caveat; + char *caveat = NULL; #ifdef GLX_EXT_visual_rating if (attribs->visualCaveat == GLX_NONE_EXT || attribs->visualCaveat == 0) caveat = "None"; -- cgit v1.2.3