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
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to