diff options
| author | Greg Ercolano <erco@seriss.com> | 2014-07-21 18:05:25 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2014-07-21 18:05:25 +0000 |
| commit | 018f4ee97879d0f8b6a30a2b705a58ed033f422f (patch) | |
| tree | fb6386668491ade48937658016454a8d5e5ccb8b /src/Fl_Native_File_Chooser_WIN32.cxx | |
| parent | 7eb0c224df236115e85dbff6869e179e5333abac (diff) | |
Removed unused code strcnt() to prevent warnings w/mingw
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10222 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Native_File_Chooser_WIN32.cxx')
| -rw-r--r-- | src/Fl_Native_File_Chooser_WIN32.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Fl_Native_File_Chooser_WIN32.cxx b/src/Fl_Native_File_Chooser_WIN32.cxx index 3b7f19a41..56779cd5a 100644 --- a/src/Fl_Native_File_Chooser_WIN32.cxx +++ b/src/Fl_Native_File_Chooser_WIN32.cxx @@ -664,19 +664,6 @@ void Fl_Native_File_Chooser::add_filter(const char *name_in, // name of filter ( //DEBUG printf("DEBUG: ADD FILTER name=<%s> winfilter=<%s>\n", name, winfilter); } -// COUNT OCCURRENCES OF ANY CHARS FROM 'find' IN 's'. -static int strcnt(const char *s, const char *find) { - int cnt = 0; - const char *f; - while ( *s ) { - for (f=find; *f; f++) { - if (*s == *f) { ++cnt; break; } - } - ++s; - } - return cnt; -} - // RETURN HOW MANY DIFFERENT FILTERS WERE SPECIFIED // In: "foo.[CH]" or "foo.{C,H}" // Out: 2 |
