fix 2 uninitialized variables and bin == NULL check

This commit is contained in:
Markus Teich
2015-12-09 00:50:05 +01:00
parent edb4630564
commit 008ff1b88b
2 changed files with 10 additions and 9 deletions

2
drw.c
View File

@ -228,7 +228,7 @@ int
drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, const char *text, int invert) {
char buf[1024];
int tx, ty, th;
unsigned int ew;
unsigned int ew = 0;
Colormap cmap;
Visual *vis;
XftDraw *d;