1
0
Fork 0
frr/tools/coccinelle/struct_thread_null.cocci

10 lines
103 B
Text
Raw Permalink Normal View History

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