From: Christophe CURIS <[email protected]>

Hello,

Here is another series of patch to improve the quality of the code.
This series focuses on function parameter checks in the wmaker code.

 - patches 8 and 11 fixes some dangerous type conversions seen
during the improvment process;
 - other patchs take care of unused parameters.

Please note that I have not yet included a patch to activate the
compiler check because there's still the case of WINGs, WPrefs and
the other things.

Best regards,
Christophe.


  wmaker: Marked args as unused at places where conditional code is used
  wmaker: Marked args as unused for compiler in callback code
  wmaker: Marked args as unused for compiler in menu callback code
  wmaker: Marked args as unused for compiler in XExposeEvent callback
    code
  wmaker: Marked args as unused for compiler in XClickEvent callback
    code
  wmaker: Marked args as unused for compiler in XCloseEvent callback
    code
  wmaker: Marked args as unused for compiler in WINGs Notif callback
    code
  wmaker: Removed explicit callback type conversion
  wmaker: Marked args as unused for compiler in WINGs callback code
  wmaker: Marked args as unused for compiler in X Error handlers
  wmaker: Removed explicit callback type conversion
  wmaker: Marked args as unused for compiler in process death handlers
  wmaker: Marked args as unused for compiler in signal handlers

 src/appicon.c     |  12 ++++
 src/appmenu.c     |   3 +
 src/defaults.c    | 210 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 src/dialog.c      |  19 +++++
 src/dock.c        |  60 ++++++++++++++++
 src/dockedapp.c   |   3 +
 src/framewin.c    |   3 +
 src/icon.c        |   9 +++
 src/main.c        |  11 ++-
 src/menu.c        |  13 ++++
 src/rootmenu.c    |  31 ++++++++
 src/screen.c      |   6 +-
 src/startup.c     |   6 ++
 src/superfluous.c |   3 +
 src/switchmenu.c  |   9 +++
 src/texture.c     |   4 ++
 src/window.c      |  21 ++++++
 src/winmenu.c     |   9 +++
 src/winspector.c  |  32 ++++++---
 src/wmspec.c      |   3 +
 src/workspace.c   |   9 +++
 21 files changed, 461 insertions(+), 15 deletions(-)

-- 
1.8.4.rc3


-- 
To unsubscribe, send mail to [email protected].

Reply via email to