reset: allow registering handlers that aren't called by snapshot loading
[qemu/ar7.git] / scripts / coccinelle / error_propagate_null.cocci
blobc23638007ab3aa168063c35ead29f09e3f2f7bd6
1 // error_propagate() already ignores local_err==NULL, so there's
2 // no need to check it before calling.
4 @@
5 identifier L;
6 expression E;
7 @@
8 -if (L) {
9      error_propagate(E, L);