fix up various compiler warnings found with gcc-4.3:
commit93efd2f2040988ccfc0ed81b900d291899ba0bae
authorkpfleming <kpfleming@614ede4d-c843-0410-af14-a771ab80d22e>
Tue, 11 Mar 2008 11:04:29 +0000 (11 11:04 +0000)
committerkpfleming <kpfleming@614ede4d-c843-0410-af14-a771ab80d22e>
Tue, 11 Mar 2008 11:04:29 +0000 (11 11:04 +0000)
tree7d19bd7ec12fcf67edadaa51483cde9ed7079e1b
parent7b167c152d70ef53e96ab8310c05d9166bfaeff6
fix up various compiler warnings found with gcc-4.3:

- the output of flex includes a static function called 'input' that is not used, so for the moment we'll stop having the compiler tell us about unused variables in the flex source files (a better fix would be to improve our flex post-processing to remove the unused function)

- main/stdtime/localtime.c makes assumptions about signed integer overflow, and gcc-4.3's improved optimizer tries to take advantage of handling potential overflow conditions at compile time; for now, suppress these optimizations until we can fiure out if the code needs improvement

- main/udptl.c has some references to uninitialized variables; in one case there was no bug, but in the other it was certainly possibly for unexpected behavior to occur

- main/editline/readline.c had an unused variable

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@107352 614ede4d-c843-0410-af14-a771ab80d22e
main/Makefile
main/editline/readline.c
main/udptl.c
pbx/Makefile
utils/Makefile