diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2013-08-14 09:27:59 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-08-20 11:05:31 +0200 |
commit | a62d26e32a4ca80a32040b9a9a2a9abe3d77dc78 (patch) | |
tree | e4f485309ea6ea592aa792c99a3d0f102c3a0bdc /doc | |
parent | ac700b8e36f06b1dbac7f3154f61a1012e5349d1 (diff) | |
download | neard-a62d26e32a4ca80a32040b9a9a2a9abe3d77dc78.tar.gz neard-a62d26e32a4ca80a32040b9a9a2a9abe3d77dc78.tar.bz2 neard-a62d26e32a4ca80a32040b9a9a2a9abe3d77dc78.zip |
unit: Do not compare expression against NULL
This patch generate via coccinelle with:
@ disable is_null,isnt_null1 @
expression E;
@@
(
- E == NULL
+ !E
|
- E != NULL
+ E
)
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions