diff options
author | Brian Paul <[email protected]> | 2000-11-10 17:23:02 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-11-10 17:23:02 +0000 |
commit | db6aa58267cad3f502f03ab80b9deb6b75320a91 (patch) | |
tree | 52d7cc352e2e7190b19b79ffdfb21c704b67dff1 /src/mesa/drivers/x11 | |
parent | 8e3366fda795797d92afb6877cd280cf96a6d4e7 (diff) |
patched to silence compiler warnings (Martin Lindhe)
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r-- | src/mesa/drivers/x11/fakeglx.c | 4 | ||||
-rw-r--r-- | src/mesa/drivers/x11/xfonts.c | 4 |
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; |