diff options
| author | Greg Ercolano <erco@seriss.com> | 2014-12-19 03:47:32 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2014-12-19 03:47:32 +0000 |
| commit | 889a8a6d425baf7c0208d2bbd62947e1062db8e7 (patch) | |
| tree | cb2da85686c32de81633d69addab7f7b0d300262 /test/editor.cxx | |
| parent | cdee5e204faaefd92eab79a8738da5982c990e6c (diff) | |
Fixes STR #3169, comments #4, #5 and #7.
Prevents warnings from the OSX 10.9.x clang compiler.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10493 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/editor.cxx')
| -rw-r--r-- | test/editor.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/editor.cxx b/test/editor.cxx index 26cd1802a..e9a397e99 100644 --- a/test/editor.cxx +++ b/test/editor.cxx @@ -206,7 +206,9 @@ style_parse(const char *text, // Might be a keyword... for (temp = text, bufptr = buf; (islower((*temp)&255) || *temp == '_') && bufptr < (buf + sizeof(buf) - 1); - *bufptr++ = *temp++); + *bufptr++ = *temp++) { + // nothing + } if (!islower((*temp)&255) && *temp != '_') { *bufptr = '\0'; |
