repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'js/mingw-isatty' into maint
[alt-git.git]
/
contrib
/
coccinelle
/
xstrdup_or_null.cocci
blob
3fceef132bf57623e04a080d03da9aff951f1c11
1
@@
2
expression E;
3
expression V;
4
@@
5
- if (E)
6
- V = xstrdup(E);
7
+ V = xstrdup_or_null(E);