com php-src: extend ccppcheck defs: win32/build/cppcheck.cfg
| From: | Anatol Belski | Date: | Tue, 07 Mar 2017 00:29:45 +0000 |
| Subject: | com php-src: extend ccppcheck defs: win32/build/cppcheck.cfg | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97245@lists.php.net to get a copy of this message | ||
Commit: 7aa0632cfb635a525f3e7c79a8e9ea6a8b5c393a
Author: Anatol Belski <ab@php.net> 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>