Fix compiler warning: uninitialized variable in kv_instance

Change-Id: I75364cd709a715f8ed2be128ee6ac964867f837f