diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-02-27 17:27:21 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-02-27 17:27:21 +0000 |
| commit | d67e9ccb73bff691d5e5ae53fab64206558c3069 (patch) | |
| tree | 414c78d51f18d4d666e47d9c9ddaefbe422a419e /src/Fl_Input_.cxx | |
| parent | 85b45416e74106910a7f087e633f80615c67de80 (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 'src/Fl_Input_.cxx')
| -rw-r--r-- | src/Fl_Input_.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx index 085ca80a6..f80b59c8e 100644 --- a/src/Fl_Input_.cxx +++ b/src/Fl_Input_.cxx @@ -1220,7 +1220,7 @@ int Fl_Input_::static_value(const char* str, int len) { int i = 0; // find first different character: if (value_) { - for (; i<size_ && i<len && str[i]==value_[i]; i++); + for (; i<size_ && i<len && str[i]==value_[i]; i++) {/*empty*/} if (i==size_ && i==len) return 0; } minimal_update(i); |
