[Pkg-wmaker-commits] [wmbubble] 179/207: Fix -Wunused-variable compiler warning.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Mon Aug 24 04:18:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmbubble.
commit b0058bb3204df10283eeec811492a62c02415e89
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Sat Nov 29 17:18:57 2014 -0600
Fix -Wunused-variable compiler warning.
In particular:
wmx11pixmap.c: In function ‘RGBtoXIm’:
wmx11pixmap.c:34:18: warning: unused variable ‘p8’ [-Wunused-variable]
unsigned char * p8 = (unsigned char *)ximout->data;
^
---
wmx11pixmap.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/wmx11pixmap.c b/wmx11pixmap.c
index 6430526..1e2cdba 100644
--- a/wmx11pixmap.c
+++ b/wmx11pixmap.c
@@ -31,7 +31,6 @@ static int flush_expose(Window w) {
void RGBtoXIm(const unsigned char * from, XImage * ximout) {
unsigned long * p32 = (unsigned long *)ximout->data;
unsigned short * p16 = (unsigned short *)ximout->data;
- unsigned char * p8 = (unsigned char *)ximout->data;
unsigned long pxl;
int i, yy;
/* violatin' the abstractions! */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbubble.git
More information about the Pkg-wmaker-commits
mailing list