com php-src: extend ccppcheck defs: win32/build/cppcheck.cfg
[email protected] (Anatol Belski)
| Newsgroups | php.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 7aa0632cfb635a525f3e7c79a8e9ea6a8b5c393a Author: Anatol Belski <[email protected]> Tue, 7 Mar 2017 01:29:45 +0100 Parents: e113b6784aa92c74ec3f4d821ccc6492d4b1a52d Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7aa0632cfb635a525f3e7c79a8e9ea6a8b5c393a Log: extend ccppcheck defs Changed paths: M win32/build/cppcheck.cfg Diff: diff --git a/win32/build/cppcheck.cfg b/win32/build/cppcheck.cfg index 7b90142..b90c9e1 100644 --- a/win32/build/cppcheck.cfg +++ b/win32/build/cppcheck.cfg @@ -431,4 +431,22 @@ <noreturn>true</noreturn> <leak-ignore/> </function> + <function name="php_hashcontext_dtor"> + <noreturn>false</noreturn> + <arg nr="1"> + <not-null/> + <not-uninit/> + </arg> + </function> + <function name="php_hashcontext_create"> + <noreturn>false</noreturn> + <arg nr="1"> + <not-null/> + <not-uninit/> + </arg> + </function> + <resource> + <alloc init="true">php_hashcontext_create</alloc> + <dealloc>php_hashcontext_dtor</dealloc> + </resource> </def>