diff options
author | Bernhard R. Link <brlink@debian.org> | 2009-07-15 18:48:03 +0200 |
---|---|---|
committer | Bernhard R. Link <brlink@debian.org> | 2009-07-15 18:55:04 +0200 |
commit | 9167cc9a8b98ee691b5653aeedbb71e6d857dbed (patch) | |
tree | 712fc3116d039a419fce83d7bc13a64dfdcb2408 /src/globals.c | |
parent | 21da5ebbedae6e62ec9bbf8a9027ca0c4a1b26f1 (diff) | |
download | ratpoison-9167cc9a8b98ee691b5653aeedbb71e6d857dbed.zip |
silence unused variables and unused parameters warnings
Diffstat (limited to 'src/globals.c')
-rw-r--r-- | src/globals.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.c b/src/globals.c index f056103..9ebc8e3 100644 --- a/src/globals.c +++ b/src/globals.c @@ -297,7 +297,11 @@ rp_draw_string (rp_screen *s, Drawable d, int style, int x, int y, char *string, } int +#ifdef USE_XFT_FONT rp_text_width (rp_screen *s, XFontSet font, char *string, int count) +#else +rp_text_width (rp_screen *s UNUSED, XFontSet font, char *string, int count) +#endif { if (count < 0) count = strlen (string); |