* major code cleanup (part 1)
authorChristoph Hohmann <reboot@gmx.ch>
Tue, 2 Jul 2002 19:49:11 +0000 (19:49 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Tue, 2 Jul 2002 19:49:11 +0000 (19:49 +0000)
commit8da5cfd6bac3c3613507b87eaccb96ba53515040
tree434070dc45161bc8687f702a3e253bc7c22ec525
parent7d2a5c9135f370196d74f8b99b7981dbcb6d2098
* major code cleanup (part 1)

        - unused variables removed
        - unused functions removed
        - uninitialized variables checked
        - missing return statements added
        - missing function return types added
        - added parentheses around assignment and
          && in || when suggested by gcc

* src/mh.c
* src/folder.c
        replaced direct calls to folder->scan_tree
        with folder_scan_tree and restore folder
        prefs in this function. The folder should
        not have to deal with them.
        ( Should now work for all folder types )
49 files changed:
src/addr_compl.c
src/addrbook.c
src/addrcache.c
src/addrclip.c
src/addressbook.c
src/addressbook.h
src/addrharvest.c
src/addrindex.c
src/addrselect.c
src/compose.c
src/exphtmldlg.c
src/exporthtml.c
src/filesel.c
src/folder.c
src/folder.h
src/folderview.c
src/gtksctree.c
src/gtkshruler.c
src/gtkstext.c
src/inc.c
src/ldif.c
src/main.c
src/mainwindow.c
src/mbox.c
src/messageview.c
src/mgutils.c
src/mh.c
src/mutt.c
src/news.c
src/passphrase.c
src/passphrase.h
src/pgptext.c
src/pine.c
src/prefs_account.c
src/prefs_actions.c
src/prefs_common.c
src/prefs_filtering.c
src/prefs_folder_item.c
src/prefs_matcher.c
src/prefs_scoring.c
src/procheader.c
src/procmime.c
src/procmsg.c
src/setup.c
src/string_match.c
src/summaryview.c
src/textview.c
src/vcard.c
src/xmlprops.c