Fix compile errors caused by r4500 / r4501.
authorCorey Farrell <git@cfware.com>
Thu, 26 Mar 2015 23:09:04 +0000 (23:09 +0000)
committerCorey Farrell <git@cfware.com>
Thu, 26 Mar 2015 23:09:04 +0000 (23:09 +0000)
commit554eb7451638f8384f5150c3adc202194b5fafc0
treee0523e8ca456e7f5163f799201f12540f39676f2
parent3ddd92902af9eaa3018f7e25e430afcfe4322845
Fix compile errors caused by r4500 / r4501.

* Add ast_register_cleanup to utils/clicompat.c to deal with
  any utils that copy sources from main.
* Asterisk 13+: remove unused variables from core_local.c.

Review: https://reviewboard.asterisk.org/r/4534/
........

Merged revisions 433499 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 433500 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@433501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/core_local.c
utils/clicompat.c