Dominique Pelle wrote: > todo.txt contains this item: > > > Check for unused functions, idea: > > http://blog.flameeyes.eu/2008/01/17/today-how-to-identify-unused-exported-functions-and-variables > > I tried building several configurations of Vim-7.3a > (tiny, small, normal, big, huge) with different > GUIs (athena, motif, gtk2, gnome2) using the gcc > compilation flags and link options in above link: > > -ffunction-sections -fdata-sections > -Wl,--gc-sections -Wl,--print-gc-section > > It found a couple of unused functions. > Attached patch fixes it.
Thanks. -- ~ ~ ~ ".signature" 4 lines, 50 characters written /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
