diff options
author | Vinson Lee <vlee@vmware.com> | 2010-02-09 01:35:14 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-02-09 01:35:14 -0800 |
commit | ad93f3e4890a8789422f180e3c2c413fb609984f (patch) | |
tree | a6f625469cd9afdce7987428c349f9a440fd067f /progs/xdemos | |
parent | 70f8aaa0c30c640d0cce7faea9402b4e53bbfff0 (diff) |
progs/xdemos: Silence uninitialized variable warning.
Diffstat (limited to 'progs/xdemos')
-rw-r--r-- | progs/xdemos/glxinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c index 30cd568064..d871088210 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; |