summaryrefslogtreecommitdiff
path: root/test/checkers.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2016-02-27 17:27:21 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2016-02-27 17:27:21 +0000
commitd67e9ccb73bff691d5e5ae53fab64206558c3069 (patch)
tree414c78d51f18d4d666e47d9c9ddaefbe422a419e /test/checkers.cxx
parent85b45416e74106910a7f087e633f80615c67de80 (diff)
Fix compiler warnings (STR #2988) - final commit.
This commit includes all fixes from branch-1.3 (svn r 11243) and additional fixes for warnings that crept in during the porting efforts, particularly C++ ("//") comments in C and included header files, and some more. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11246 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/checkers.cxx')
-rw-r--r--test/checkers.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/checkers.cxx b/test/checkers.cxx
index 59c7de134..b9adf95b2 100644
--- a/test/checkers.cxx
+++ b/test/checkers.cxx
@@ -500,7 +500,7 @@ int fullexpand(node *f, int level) {
node* n = f->son;
if (!n->jump && n->brother) {if (level<1) return(1); level--;}
int i;
- node* sons[32]; for (i=0; (sons[i++] = n); n = n->brother);
+ node* sons[32]; for (i=0; (sons[i++] = n); n = n->brother) {/*empty*/}
int ret = 1;
for (i=0; ret && (n = sons[i++]);) {
makemove(n);