Skip to content

Commit

Permalink
Fixed Static Analyzer Issue and Updated version String
Browse files Browse the repository at this point in the history
Fixed SA issue. Added continue to exit from loop if class is instance type.
  • Loading branch information
NidhiDixit09 committed Aug 16, 2022
1 parent 493c540 commit 5fd7802
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Branch/BNCEncoder.m
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ + (NSError*_Nullable) decodeInstance:(id)instance
void* ivarPtr = nil;
if (class == instance) {
// instance is a class, so there aren't any ivar values.
continue;
} else if (encoding[0] == '@' || encoding[0] == '#') {
ivarPtr = (__bridge void*) object_getIvar(instance, ivars[i]);
} else {
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Branch Mac SDK Change Log

## v1.4.0 - Aug 16, 2022
## 1.4.0 - Aug 16, 2022

SDK-1405
Branch QR codes functionality added.
Expand Down

0 comments on commit 5fd7802

Please sign in to comment.