NetworkManager/dispatcher
Lubomir Rintel e69d386975 all: use the elvis operator wherever possible
Coccinelle:

  @@
  expression a, b;
  @@
  -a ? a : b
  +a ?: b

Applied with:

  spatch --sp-file ternary.cocci --in-place --smpl-spacing --dir .

With some manual adjustments on spots that Cocci didn't catch for
reasons unknown.

Thanks to the marvelous effort of the GNU compiler developer we can now
spare a couple of bits that could be used for more important things,
like this commit message. Standards commitees yet have to catch up.
2018-05-10 14:36:58 +02:00
..
tests all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
meson.build build/meson: use variables for ldflags and linker-script 2018-01-11 12:46:01 +01:00
nm-dispatcher-utils.c all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nm-dispatcher-utils.h callouts/dispatcher: rename directory callouts 2016-10-13 21:33:33 +02:00
nm-dispatcher.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-dispatcher.conf callouts/dispatcher: rename directory callouts 2016-10-13 21:33:33 +02:00
nm-dispatcher.xml callouts/dispatcher: rename directory callouts 2016-10-13 21:33:33 +02:00
org.freedesktop.nm_dispatcher.service.in callouts/dispatcher: rename directory callouts 2016-10-13 21:33:33 +02:00