Skip to content

Commit 895ae7a

Browse files
avarttaylorr
authored andcommitted
cocci rules: remove unused "F" metavariable from pending rule
Fix an issue with a rule added in 9b45f49 (object-store: prepare has_{sha1, object}_file to handle any repo, 2018-11-13). We've been spewing out this warning into our [email protected] since that rule was added: warning: rule starting on line 21: metavariable F not used in the - or context code We should do a better job of scouring our coccinelle log files for such issues, but for now let's fix this as a one-off. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Taylor Blau <[email protected]>
1 parent c4864e3 commit 895ae7a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

contrib/coccinelle/the_repository.pending.cocci

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ expression E;
2020

2121
@@
2222
expression E;
23-
expression F;
2423
@@
2524
- has_object_file_with_flags(
2625
+ repo_has_object_file_with_flags(the_repository,

0 commit comments

Comments
 (0)