[master] 030ce0a00 Rein replace.cocci
Nils Goroll
nils.goroll at uplex.de
Wed Feb 10 09:06:07 UTC 2021
commit 030ce0a0047c735bebb5a013d51a813c0be94f90
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Wed Feb 10 09:34:13 2021 +0100
Rein replace.cocci
diff --git a/tools/coccinelle/replace.cocci b/tools/coccinelle/replace.cocci
index 706b28482..f70b7aeb8 100644
--- a/tools/coccinelle/replace.cocci
+++ b/tools/coccinelle/replace.cocci
@@ -10,10 +10,3 @@ expression ptr, val;
- ptr = strdup(val);
- AN(ptr);
+ REPLACE(ptr, val);
-
-@@
-expression ptr, val;
-@@
-
-REPLACE(ptr, val);
-- AN(ptr);
More information about the varnish-commit
mailing list