* src/image.c (anim_prune_animation_cache): Prefer NILP (x) to EQ (x, Qnil). * admin/coccinelle/nilp.cocci: Semantic patch for above change.
7 lines
81 B
Plaintext
7 lines
81 B
Plaintext
// Prefer NILP (x) to EQ (x, Qnil)
|
|
@@
|
|
expression X;
|
|
@@
|
|
- EQ (X, Qnil)
|
|
+ NILP (X)
|