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
struct ao2_iterator *mult_it;
struct test_obj *obj;
ao2_callback_fn *cmp_fn;
- int n_buckets;
+ int n_buckets = 0;
int increment = 0;
int destructor_count = 0;
int count;