mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-02 17:14:01 -05:00
The Coccinelle tool is an ingrained part of our build infrastructure. It is executed by our CI to detect antipatterns and is used to detect misuses of certain interfaces. It's presence in "contrib/" is thus rather misleading. Promote the configuration into the new "tools/" directory. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
10 lines
92 B
Plaintext
10 lines
92 B
Plaintext
int use_FREE_AND_NULL(int *v)
|
|
{
|
|
FREE_AND_NULL(*v);
|
|
}
|
|
|
|
int need_no_if(int *v)
|
|
{
|
|
free(v);
|
|
}
|