diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-09-18 23:36:35 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-09-18 23:36:35 +1000 |
commit | 01a6d6ff95d72e6e9107d8c3e386c2bd2ce5c28d (patch) | |
tree | 50b7b19fba996c52bb938549f76f6a2f443a33f8 /src/gdisp | |
parent | 71ccbb32e12f95a60c40c3639910a2cc1fb5bfbd (diff) | |
download | uGFX-01a6d6ff95d72e6e9107d8c3e386c2bd2ce5c28d.tar.gz uGFX-01a6d6ff95d72e6e9107d8c3e386c2bd2ce5c28d.tar.bz2 uGFX-01a6d6ff95d72e6e9107d8c3e386c2bd2ce5c28d.zip |
Fix some compiler warnings
Diffstat (limited to 'src/gdisp')
-rw-r--r-- | src/gdisp/mcufont/mf_kerning.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gdisp/mcufont/mf_kerning.c b/src/gdisp/mcufont/mf_kerning.c index 4118b78e..0ef35363 100644 --- a/src/gdisp/mcufont/mf_kerning.c +++ b/src/gdisp/mcufont/mf_kerning.c @@ -25,6 +25,7 @@ static void fit_leftedge(int16_t x, int16_t y, uint8_t count, uint8_t alpha, void *state) { struct kerning_state_s *s = state; + (void)count; if (alpha > 7) { @@ -64,7 +65,7 @@ static bool do_kerning(mf_char c) return true; } -static int16_t min16(int16_t a, int16_t b) { return (a < b) ? a : b; } +//static int16_t min16(int16_t a, int16_t b) { return (a < b) ? a : b; } static int16_t max16(int16_t a, int16_t b) { return (a > b) ? a : b; } static int16_t avg16(int16_t a, int16_t b) { return (a + b) / 2; } |