diff options
| author | Manolo Gouy <Manolo> | 2016-03-31 04:32:34 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-31 04:32:34 +0000 |
| commit | 9959aff3681ccb897dc861cbfe08a1d4f4ee937c (patch) | |
| tree | 4cc3c4edf42b58499ee24e267ed9c05756d92b2d | |
| parent | d67f395031b0e9cfb266bf31a4a5e08a2d109e3b (diff) | |
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
| -rw-r--r-- | src/drivers/Darwin/Fl_Darwin_System_Driver.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
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$". // |
