[Pkg-wmaker-commits] [wmcoincoin] 41/87: Fix -Wunused-variable compiler warnings.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Fri Aug 28 17:27:36 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 fa8a0874f8d567e16b80cae7dcb5e3b656c99c78
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Tue Nov 11 12:13:28 2014 -0600
Fix -Wunused-variable compiler warnings.
---
src/fontcoincoin.c | 1 -
src/kbcoincoin.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/fontcoincoin.c b/src/fontcoincoin.c
index c73ba7a..67d59d5 100644
--- a/src/fontcoincoin.c
+++ b/src/fontcoincoin.c
@@ -244,7 +244,6 @@ int ccfont_text_width_utf8(CCFontId fid, char *str, int len) {
XGlyphInfo ext;
if (len == -1) len = strlen(str);
XftTextExtents8(display, ccfonts[fid]->xfn, str, len, &ext);
- int plop = ext.width;
XftTextExtentsUtf8(display, ccfonts[fid]->xfn, str, len, &ext);
return ext.width;
}
diff --git a/src/kbcoincoin.c b/src/kbcoincoin.c
index ab7517e..98612b6 100644
--- a/src/kbcoincoin.c
+++ b/src/kbcoincoin.c
@@ -54,7 +54,7 @@ kb_xim_lookup_key(XKeyEvent *event, unsigned idx)
rlen = Xutf8LookupString(ic, event, buf, buf_len, &kb_state()->ksym, &status);
}
}
- unsigned i;
+ //unsigned i;
switch (status) {
case XLookupNone:
//printf("XLookupNone\n");
--
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