From ad93f3e4890a8789422f180e3c2c413fb609984f Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 9 Feb 2010 01:35:14 -0800 Subject: [PATCH] progs/xdemos: Silence uninitialized variable warning. --- progs/xdemos/glxinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2