Fix uninitialized in this function error
authorMatthew Jordan <mjordan@digium.com>
Mon, 19 Nov 2012 02:14:54 +0000 (02:14 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 19 Nov 2012 02:14:54 +0000 (02:14 +0000)
commit7cf42e90b6114749e27aa3d0aadd3cd2833de48c
tree52d70bbc1a6a17fafc4291faf53ca70b93fef0ab
parent530ce21b5de3f529657635c8eed8632127598ebb
Fix uninitialized in this function error

With some versions of gcc, n_buckets will be flagged as being uninitialized
before use.  While its technically impossible (since the switch statement,
even without a default, accounts for all possibilities), we'll initialize the
variable to 0 anyway.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@376457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
tests/test_astobj2.c