From ef831abaa73298d9648010d8aede52dc95fcaee1 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 8 Dec 2010 13:16:27 +0000 Subject: Fixed more Windows compiler warnings: - unused functions: dnullprint, strapp - format mismatch for newer compilers and/or 64-bit mode git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Native_File_Chooser_common.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Fl_Native_File_Chooser_common.cxx') diff --git a/src/Fl_Native_File_Chooser_common.cxx b/src/Fl_Native_File_Chooser_common.cxx index 70a3eab1c..383ecc86f 100644 --- a/src/Fl_Native_File_Chooser_common.cxx +++ b/src/Fl_Native_File_Chooser_common.cxx @@ -56,6 +56,7 @@ static char *strfree(char *val) { // char *s = strnew("foo"); // s = "foo" // s = strapp(s, "bar"); // s = "foobar" // +#if !defined(WIN32) static char *strapp(char *s, const char *val) { if ( ! val ) { return(s); // Nothing to append? return s @@ -69,6 +70,7 @@ static char *strapp(char *s, const char *val) { delete [] s; // delete old string return(news); // return new copy } +#endif // APPEND A CHARACTER TO A STRING // This does NOT allocate space for the new character. -- cgit v1.2.3