This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project wmaker-crm.git.
The branch, next has been updated
via a06b0673d8de6e65e8df00aafd2a7575adca6d38 (commit)
via d9296ff9a4f3e769f7884c43aefbad57f172493c (commit)
from e01d14abe4fe1a7d71ef495c6931c0b4a1703aa9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/wmaker-crm.git/commit/a06b0673d8de6e65e8df00aafd2a7575adca6d38
commit a06b0673d8de6e65e8df00aafd2a7575adca6d38
Author: Brad Jorsch <[email protected]>
Date: Tue Aug 9 16:13:13 2011 -0400
Fix some "'var' may be used uninitialized" warnings
The one in WPrefs.app/Appearance.c is indirect: the function might
be inlined and might return an uninitialized value, which causes gcc to
complain that the caller might use that uninitialized return value.
diff --git a/WPrefs.app/Appearance.c b/WPrefs.app/Appearance.c
index f266382..47eafd4 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 14fdee7..f39a83e 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 */
http://repo.or.cz/w/wmaker-crm.git/commit/d9296ff9a4f3e769f7884c43aefbad57f172493c
commit d9296ff9a4f3e769f7884c43aefbad57f172493c
Author: Brad Jorsch <[email protected]>
Date: Tue Aug 9 16:13:12 2011 -0400
Remove warning in wmagnify.c (correctly)
The problem with f65b99e615847 was that it removed the call to
newWindow() along with the unused variable, without considering that
newWindow() has side effects that need to happen even if the return
value is ignored. So as long as we keep the newWindow() call, we can
safely remove the (unused) variable.
diff --git a/util/wmagnify.c b/util/wmagnify.c
index d65d540..3bb7a37 100644
--- a/util/wmagnify.c
+++ b/util/wmagnify.c
@@ -397,7 +397,6 @@ static BufferData *newWindow(int magfactor)
int main(int argc, char **argv)
{
- BufferData *data;
int i;
char *display = "";
char *vdisplay = NULL;
@@ -481,7 +480,7 @@ int main(int argc, char **argv)
cursorColor1 = WMCreateNamedColor(scr, "#ff0000", False);
cursorColor2 = WMCreateNamedColor(scr, "#00ff00", False);
- data = newWindow(magfactor);
+ newWindow(magfactor);
WMScreenMainLoop(scr);
-----------------------------------------------------------------------
Summary of changes:
WPrefs.app/Appearance.c | 2 ++
util/wmagnify.c | 3 +--
util/wmmenugen_parse_xdg.c | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
repo.or.cz automatic notification. Contact project admin [email protected]
if you want to unsubscribe, or site admin [email protected] if you receive
no reply.
--
wmaker-crm.git ("Fork from the last available CVS version of Window Maker")
--
To unsubscribe, send mail to [email protected].