From 9959aff3681ccb897dc861cbfe08a1d4f4ee937c Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 31 Mar 2016 04:32:34 +0000 Subject: Fix "warning: control may reach end of non-void function" in Fl_Darwin_System_Driver.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11480 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/Darwin/Fl_Darwin_System_Driver.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/drivers') diff --git a/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx b/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx index 8fbdac6ca..ee8a0eb31 100644 --- a/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx +++ b/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx @@ -106,16 +106,14 @@ int Fl_Darwin_System_Driver::clocale_printf(FILE *output, const char *format, va static locale_t postscript_locale = newlocale(LC_NUMERIC_MASK, "C", (locale_t)0); return vfprintf_l(output, postscript_locale, format, args); } -#else +#endif char *saved_locale = setlocale(LC_NUMERIC, NULL); setlocale(LC_NUMERIC, "C"); int retval = vfprintf(output, format, args); setlocale(LC_NUMERIC, saved_locale); return retval; -#endif } - // // End of "$Id$". // -- cgit v1.2.3