qemu/scripts/coccinelle/typecast.cocci

8 lines
58 B
Plaintext

// Remove useless casts
@@
type T;
T v;
@@
- (T *)&v
+ &v