Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/tools/coccinelle/equals-null.cocci # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / tools / coccinelle / equals-null.cocci` 30 lines ยท 218 bytes Raw Blame History 1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 @@ 3 expression e; 4 statement s; 5 @@ 6 if ( 7 ( 8 !e 9 | 10 - e == NULL 11 + !e 12 ) 13 ) 14 {...} 15 else s 16 17 @@ 18 expression e; 19 statement s; 20 @@ 21 if ( 22 ( 23 e 24 | 25 - e != NULL 26 + e 27 ) 28 ) 29 {...} 30 else s