1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/coccinelle/warn/remove_atoi_cast.cocci

12 lines
123 B
Plaintext
Raw Normal View History

// removes not needed casts like "e = (uint16_t) atoi(e2)"
@@
expression e;
expression e2;
type t;
@@
e =
- (t)
atoi(e2)