Skip to contentSkip to conversation

Extra message "case 1" in generated patches

Cocci SF Markus Elfring 1 participant 1 message Jun 24, 2015

lore
Share & tools
lore
#0 lore raw

Dear Julia,

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

tools/lib/traceevent/parse-filter.c +1 -2
diff -u -p 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