Hello, I have an example:
@@ expression d,p; @@
- g_autoptr(d) p;
+ g_autoptr(d) p = NULL;
C source code:
void f(void)
{
g_autoptr(Test) *p1;
}
Then I got this error:
minus: parse error:
File "test.cocci", line 3, column 15, charpos = 38
around = 'p',
whole content = - g_autoptr(d) p;
is it correct?
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci
