Commit 16b8124
Use non-optional UUID init for zero-IDFA sentinel
UUID(uuidString:) returns Optional, which would silently make the
equality check at the call site false if the literal ever failed to
parse — the zero-IDFA sentinel would then slip through unfiltered.
Switch to UUID(uuid:) which takes the 16-byte tuple directly and
returns a non-optional, removing the optionality from the comparison
without resorting to force-unwrap.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 94a618f commit 16b8124
1 file changed
Lines changed: 4 additions & 1 deletion
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| |||
0 commit comments