diff options
author | Brian Paul <[email protected]> | 2002-03-08 19:44:28 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-03-08 19:44:28 +0000 |
commit | a3e44f453190114281a83e93740be8c2b25274b6 (patch) | |
tree | a3695bc627104c8146d214361773799c0ec42da4 /progs/xdemos/glxinfo.c | |
parent | b43a828ad44d0ff092c667f0ba289b8200aef22c (diff) |
fix some minor warnings
Diffstat (limited to 'progs/xdemos/glxinfo.c')
-rw-r--r-- | progs/xdemos/glxinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c index 58baf82345f..00b4f0458ac 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"; |