summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/fakeglx.c4
-rw-r--r--src/mesa/drivers/x11/xfonts.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c
index cca2fb84a73..ae481755b5f 100644
--- a/src/mesa/drivers/x11/fakeglx.c
+++ b/src/mesa/drivers/x11/fakeglx.c
@@ -1,4 +1,4 @@
-/* $Id: fakeglx.c,v 1.38 2000/10/05 17:38:21 brianp Exp $ */
+/* $Id: fakeglx.c,v 1.39 2000/11/10 17:23:03 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -561,7 +561,7 @@ static XVisualInfo *choose_x_visual( Display *dpy, int screen,
int preferred_class )
{
XVisualInfo *vis;
- int xclass, visclass;
+ int xclass, visclass = 0;
int depth;
if (rgba) {
diff --git a/src/mesa/drivers/x11/xfonts.c b/src/mesa/drivers/x11/xfonts.c
index e0f457a354f..4243f3ff8d1 100644
--- a/src/mesa/drivers/x11/xfonts.c
+++ b/src/mesa/drivers/x11/xfonts.c
@@ -1,4 +1,4 @@
-/* $Id: xfonts.c,v 1.9 2000/08/22 13:31:04 joukj Exp $ */
+/* $Id: xfonts.c,v 1.10 2000/11/10 17:23:03 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -183,7 +183,7 @@ fill_bitmap (Display *dpy, Window win, GC gc,
static XCharStruct *isvalid(XFontStruct *fs, int which)
{
unsigned int rows,pages;
- int byte1,byte2;
+ int byte1 = 0,byte2 = 0;
int i,valid = 1;
rows = fs->max_byte1 - fs->min_byte1 + 1;