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
This commit is contained in:
parent
cdee5e204f
commit
889a8a6d42
@ -179,7 +179,9 @@ void CodeEditor::style_parse(const char *text, char *style, int length) {
|
||||
// Might be a keyword...
|
||||
for (temp = text, bufptr = buf;
|
||||
(islower(*temp) || *temp == '_') && bufptr < (buf + sizeof(buf) - 1);
|
||||
*bufptr++ = *temp++);
|
||||
*bufptr++ = *temp++) {
|
||||
// nothing
|
||||
}
|
||||
|
||||
if (!islower(*temp) && *temp != '_') {
|
||||
*bufptr = '\0';
|
||||
|
@ -62,6 +62,7 @@ static void free_path(char **arr) {
|
||||
}
|
||||
}
|
||||
|
||||
#if 0 /* unused code -- STR #3169 */
|
||||
// INTERNAL: Recursively descend 'item's tree hierarchy
|
||||
// accumulating total child 'count'
|
||||
//
|
||||
@ -72,6 +73,7 @@ static int find_total_children(Fl_Tree_Item *item, int count=0) {
|
||||
}
|
||||
return(count);
|
||||
}
|
||||
#endif
|
||||
|
||||
/// Constructor.
|
||||
Fl_Tree::Fl_Tree(int X, int Y, int W, int H, const char *L) : Fl_Group(X,Y,W,H,L) {
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user