FLTK logo

Re: [fltk/fltk] Fixing and upgrading Fl_Preferences (PR #374)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] Fixing and upgrading Fl_Preferences (PR #374) wcout Jan 19, 2022  
 

Please fix these warnings introduced with 50cf313

Compiling drivers/X11/Fl_X11_System_Driver.cxx...
drivers/X11/Fl_X11_System_Driver.cxx: In member function ‘virtual int Fl_X11_System_Driver::clocale_snprintf(char*, size_t, 

const char*, __va_list_tag*)’:

drivers/X11/Fl_X11_System_Driver.cxx:108:7: warning: unused variable ‘retval’ [-Wunused-variable]
  108 |   int retval = vsnprintf(output, output_size, format, args);
      |       ^~~~~~
drivers/X11/Fl_X11_System_Driver.cxx:116:1: warning: no return statement in function returning non-void [-Wreturn-type]
  116 | }
      | ^
drivers/X11/Fl_X11_System_Driver.cxx: In member function ‘virtual int Fl_X11_System_Driver::clocale_sscanf(const char*, const char*, __va_list_tag*)’:
drivers/X11/Fl_X11_System_Driver.cxx:123:7: warning: unused variable ‘retval’ [-Wunused-variable]
  123 |   int retval = vsscanf(input, format, args);
      |       ^~~~~~
drivers/X11/Fl_X11_System_Driver.cxx:131:1: warning: no return statement in function returning non-void [-Wreturn-type]
  131 | }
      | ^


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/pull/374/c1017167577@github.com>

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.