[Pkg-wmaker-commits] [wmcoincoin] 48/87: Fix -Wunused-but-set-parameter compiler warnings.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Fri Aug 28 17:27:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmcoincoin.
commit 28146b96520ba6edf3333c1c4debc64f4d274987
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Tue Nov 11 12:13:53 2014 -0600
Fix -Wunused-but-set-parameter compiler warnings.
---
src/balloon.c | 5 +++--
src/pinnipede.c | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/balloon.c b/src/balloon.c
index 2c23182..975cd28 100644
--- a/src/balloon.c
+++ b/src/balloon.c
@@ -181,7 +181,7 @@ balloon_draw_frame(Display *dpy, Pixmap pix, GC gc, int x, int y, int w, int h,
}
XFillPolygon(dpy, pix, gc, pt, 3, Convex, CoordModeOrigin);
*/
- side=0;
+ (void) side;
}
static void
@@ -219,7 +219,8 @@ balloon_makepixmap(Dock *dock, Balloon *b, int bx, int by, int width, int height
*mask = bitmap;
*pix = pixmap;
- bx = by = 0;
+ (void) bx;
+ (void) by;
}
void
diff --git a/src/pinnipede.c b/src/pinnipede.c
index 7f0c7d6..8fb5ba1 100644
--- a/src/pinnipede.c
+++ b/src/pinnipede.c
@@ -4006,7 +4006,8 @@ pp_handle_keypress(Dock *dock, XEvent *event)
int
pp_handle_keyrelease(Dock *dock, XEvent *event)
{
- dock = 0; event = 0;
+ (void) dock;
+ (void) event;
return 0;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcoincoin.git
More information about the Pkg-wmaker-commits
mailing list