SDK-562 fix issue found by static analyzer
SDK-562 fix issue found by static analyzer

BranchMetrics/ios-branch-deep-linking,BranchMetrics/ios-branch-deep-linking,BranchMetrics/ios-branch-deep-linking,BranchMetrics/ios-branch-deep-linking