diff --git a/infer/models/objc/src/Dispatch_once.m b/infer/models/objc/src/Dispatch_once.m index 7e6729307..c52bb1660 100644 --- a/infer/models/objc/src/Dispatch_once.m +++ b/infer/models/objc/src/Dispatch_once.m @@ -14,6 +14,6 @@ typedef void (^dispatch_block_t)(void); typedef long dispatch_once_t; -static void _dispatch_once(dispatch_once_t* predicate, dispatch_block_t block) { +static void _dispatch_once(dispatch_once_t* predicate, __nonnull dispatch_block_t block) { block(); }