]> git.donarmstrong.com Git - lilypond.git/commit
Get rid of some compiler warnings; Fix chdir handling of errors
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 7 Aug 2011 17:13:04 +0000 (19:13 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 14 Aug 2011 14:30:16 +0000 (16:30 +0200)
commit638ad29c79717fc1ba895b14aee256dd3a03f25b
tree4a93afefaeafd70ed8ad528fa4fb84fdf6177d85
parent1d142bf5ed6b0df3b9f54cf65005c8ba31d219e6
Get rid of some compiler warnings; Fix chdir handling of errors

-) Some "unused parameter" warnings
-) Some "ignoring return value" are a bit trickier. They are bad coding style:
    o) the file-name.cc one returns a string with undefined contents if getcwd
       fails, which might either crash guile or lead to other bugs.
    o) the lily-parser-scheme.cc warning was also a programming error (if you
       used --output=dir/file, and dir/ had the wrong permissions, then
       lilypond would not print an error, but simply put the output file into
       the current directory without telling the user!).
       In this case (output dir explicitly requested, but not possible
       to change there), I think it's best to exit lilypond with an
       error.
-) signed/unsigned warning in glissando-engraver.cc, where we already
   had a check for negative values, so explicitly casting to unsigned
   shuts up the compiler.
-) Remove unneccessary #(set-paper-size "a6") in the regtests
-) fix bad texinfo code in function documentation
flower/file-name.cc
input/regression/completion-heads-factor.ly
input/regression/completion-rest.ly
lily/glissando-engraver.cc
lily/lily-parser-scheme.cc
lily/lyric-combine-music-iterator.cc
lily/skyline.cc
ly/music-functions-init.ly
ly/predefined-fretboards-init.ly
scripts/build/extract_texi_filenames.py