summaryrefslogtreecommitdiffstats
path: root/progs/xdemos/glxinfo.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-02-09 01:35:14 -0800
committerVinson Lee <[email protected]>2010-02-09 01:35:14 -0800
commitad93f3e4890a8789422f180e3c2c413fb609984f (patch)
treea6f625469cd9afdce7987428c349f9a440fd067f /progs/xdemos/glxinfo.c
parent70f8aaa0c30c640d0cce7faea9402b4e53bbfff0 (diff)
progs/xdemos: Silence uninitialized variable warning.
Diffstat (limited to 'progs/xdemos/glxinfo.c')
-rw-r--r--progs/xdemos/glxinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c
index 30cd5680642..d8710882102 100644
--- a/progs/xdemos/glxinfo.c
+++ b/progs/xdemos/glxinfo.c
@@ -963,7 +963,7 @@ print_visual_info(Display *dpy, int scrnum, InfoMode mode)
static void
print_fbconfig_info(Display *dpy, int scrnum, InfoMode mode)
{
- int numFBConfigs;
+ int numFBConfigs = 0;
struct visual_attribs attribs;
GLXFBConfig *fbconfigs;
int i;