frr/tools/coccinelle/struct_thread_null.cocci

10 lines
103 B
Text
Raw Normal View History

@@
identifier I;
identifier func =~ "thread_add_";
struct thread *thread;
@@
*thread = NULL;
...
func