diff --git a/WPrefs.app/Appearance.c b/WPrefs.app/Appearance.c index f2663826..47eafd43 100644 --- a/WPrefs.app/Appearance.c +++ b/WPrefs.app/Appearance.c @@ -704,6 +704,8 @@ static Pixmap renderMenu(_Panel * panel, WMPropList * texture, int width, int ih case MSTYLE_FLAT: pix = renderTexture(scr, texture, width, iheight * 4, NULL, RBEV_RAISED2); break; + default: + pix = None; } XFreeGC(dpy, gc); diff --git a/util/wmmenugen_parse_xdg.c b/util/wmmenugen_parse_xdg.c index 14fdee71..f39a83e8 100644 --- a/util/wmmenugen_parse_xdg.c +++ b/util/wmmenugen_parse_xdg.c @@ -320,6 +320,7 @@ static void getLocalizedStringValue(char **target, const char *line, int *match_ p = line; kstart = 0; sqbstart = 0; + sqbend = 0; locale = NULL; /* skip until after '=', mark if '[' and ']' is found */