summaryrefslogtreecommitdiff
path: root/coccinelle/no-if-assignments.cocci
AgeCommit message (Collapse)Author
2015-09-09tree-wide: don't do assignments within if checksLennart Poettering
Turn this: if ((r = foo()) < 0) { ... into this: r = foo(); if (r < 0) { ...