aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/mcufont/mf_wordwrap.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-07-29 16:25:20 +1000
committerinmarket <andrewh@inmarket.com.au>2013-07-29 16:25:20 +1000
commit12085b8014234b10739d5cf22ed6c6d055ce8741 (patch)
tree97cdf7ab1afe7ab6c8db761154618e779761fdb9 /src/gdisp/mcufont/mf_wordwrap.c
parent3ac4e9e789b7f0d5a9d18f9073a09d4e7a4fd3f0 (diff)
downloaduGFX-12085b8014234b10739d5cf22ed6c6d055ce8741.tar.gz
uGFX-12085b8014234b10739d5cf22ed6c6d055ce8741.tar.bz2
uGFX-12085b8014234b10739d5cf22ed6c6d055ce8741.zip
Fix compiler warnings, operating system dependancies, and non-portable code.
Diffstat (limited to 'src/gdisp/mcufont/mf_wordwrap.c')
-rw-r--r--src/gdisp/mcufont/mf_wordwrap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gdisp/mcufont/mf_wordwrap.c b/src/gdisp/mcufont/mf_wordwrap.c
index 4650c24a..ebf3a537 100644
--- a/src/gdisp/mcufont/mf_wordwrap.c
+++ b/src/gdisp/mcufont/mf_wordwrap.c
@@ -227,7 +227,6 @@ void mf_wordwrap(const struct mf_font_s *font, int16_t width,
void mf_wordwrap(const struct mf_font_s *font, int16_t width,
mf_str text, mf_line_callback_t callback, void *state)
{
- mf_str orig = text;
mf_str linestart;
/* Current line width and character count */