mirror of
https://github.com/git/git.git
synced 2026-01-12 13:53:11 +09:00
Merge branch 'jc/cocci-xstrdup-or-null-fix'
Get rid of a bogus and over-eager coccinelle rule. * jc/cocci-xstrdup-or-null-fix: cocci: drop bogus xstrdup_or_null() rule
This commit is contained in:
commit
dcf1ac24a2
@ -1,11 +1,3 @@
|
||||
@@
|
||||
expression E;
|
||||
expression V;
|
||||
@@
|
||||
- if (E)
|
||||
- V = xstrdup(E);
|
||||
+ V = xstrdup_or_null(E);
|
||||
|
||||
@@
|
||||
expression E;
|
||||
@@
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user