repo.or.cz
/
git
/
gitster.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
worktree: simplify incompatibility message for --orphan and commit-ish
[git/gitster.git]
/
contrib
/
coccinelle
/
flex_alloc.cocci
blob
e9f7f6d861a4a39c4fa18ae147df98eb95918b1d
1
@@
2
expression str;
3
identifier x, flexname;
4
@@
5
- FLEX_ALLOC_MEM(x, flexname, str, strlen(str));
6
+ FLEX_ALLOC_STR(x, flexname, str);
7
8
@@
9
expression str;
10
identifier x, ptrname;
11
@@
12
- FLEXPTR_ALLOC_MEM(x, ptrname, str, strlen(str));
13
+ FLEXPTR_ALLOC_STR(x, ptrname, str);