git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] coccinelle: delete an unused variable in two rules from the_repository.pending.cocci
@ 2019-11-12 20:40 Markus Elfring
  0 siblings, 0 replies; 2+ messages in thread
From: Markus Elfring @ 2019-11-12 20:40 UTC (permalink / raw)
  To: git; +Cc: Stefan Beller

From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 12 Nov 2019 21:35:36 +0100

This script contained two transformation rules for the semantic patch language
where a metavariable was declared but not used then.
Thus remove this superfluous variable “F”.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 contrib/coccinelle/the_repository.pending.cocci | 2 --
 1 file changed, 2 deletions(-)

diff --git a/contrib/coccinelle/the_repository.pending.cocci b/contrib/coccinelle/the_repository.pending.cocci
index 2ee702ecf7..ff6a6a575a 100644
--- a/contrib/coccinelle/the_repository.pending.cocci
+++ b/contrib/coccinelle/the_repository.pending.cocci
@@ -20,7 +20,6 @@ expression E;

 @@
 expression E;
-expression F;
 @@
 - has_sha1_file_with_flags(
 + repo_has_sha1_file_with_flags(the_repository,
@@ -35,7 +34,6 @@ expression E;

 @@
 expression E;
-expression F;
 @@
 - has_object_file_with_flags(
 + repo_has_object_file_with_flags(the_repository,
--
2.24.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] coccinelle: delete an unused variable in two rules from the_repository.pending.cocci
@ 2019-11-12 20:40 Markus Elfring
  0 siblings, 0 replies; 2+ messages in thread
From: Markus Elfring @ 2019-11-12 20:40 UTC (permalink / raw)
  To: git; +Cc: Stefan Beller

From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 12 Nov 2019 21:35:36 +0100

This script contained two transformation rules for the semantic patch language
where a metavariable was declared but not used then.
Thus remove this superfluous variable “F”.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 contrib/coccinelle/the_repository.pending.cocci | 2 --
 1 file changed, 2 deletions(-)

diff --git a/contrib/coccinelle/the_repository.pending.cocci b/contrib/coccinelle/the_repository.pending.cocci
index 2ee702ecf7..ff6a6a575a 100644
--- a/contrib/coccinelle/the_repository.pending.cocci
+++ b/contrib/coccinelle/the_repository.pending.cocci
@@ -20,7 +20,6 @@ expression E;

 @@
 expression E;
-expression F;
 @@
 - has_sha1_file_with_flags(
 + repo_has_sha1_file_with_flags(the_repository,
@@ -35,7 +34,6 @@ expression E;

 @@
 expression E;
-expression F;
 @@
 - has_object_file_with_flags(
 + repo_has_object_file_with_flags(the_repository,
--
2.24.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-12 20:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-12 20:40 [PATCH] coccinelle: delete an unused variable in two rules from the_repository.pending.cocci Markus Elfring
  -- strict thread matches above, loose matches on Subject: below --
2019-11-12 20:40 Markus Elfring

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).