fix: initialise key to avoid undefined behaviour
#2984
Merged
key to avoid undefined behaviour
#2984