Coccinelle Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] Extra message "case 1" in generated patches
@ 2015-06-24 16:28 SF Markus Elfring
  0 siblings, 0 replies; only message in thread
From: SF Markus Elfring @ 2015-06-24 16:28 UTC (permalink / raw)
  To: cocci

Dear Julia,

It seems that a few additional debug messages were written
into update suggestions like the following from my source
code analysis approach.

diff -u -p a/tools/lib/traceevent/parse-filter.c b/tools/lib/traceevent/parse-filter.c
--- a/tools/lib/traceevent/parse-filter.c
+++ b/tools/lib/traceevent/parse-filter.c
@@ -1239,8 +1239,7 @@ filter_event(struct event_filter *filter
 	if (filter_type == NULL)
 		return PEVENT_ERRNO__MEM_ALLOC_FAILED;
 
-	if (filter_type->filter)
-		free_arg(filter_type->filter);
+	free_arg(filter_type->filter);
 	filter_type->filter = arg;
 
 	return 0;
case 1
case 1


How do you think about to avoid such information usually?

Regards,
Markus

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-24 16:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-24 16:28 [Cocci] Extra message "case 1" in generated patches SF Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox