NetworkManager/examples
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
..
C all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
dispatcher build: merge "examples/Makefile.am" into toplevel Makefile 2016-10-21 17:37:57 +02:00
js examples/js: add a javascript example 2017-11-06 11:47:05 +01:00
lua/lgi build: merge "examples/Makefile.am" into toplevel Makefile 2016-10-21 17:37:57 +02:00
nm-conf.d device: add spec "driver:" to match devices 2017-03-17 17:40:00 +01:00
python libnm: rework checkpoint API 2018-04-04 14:02:13 +02:00
ruby build: merge "examples/Makefile.am" into toplevel Makefile 2016-10-21 17:37:57 +02:00
shell all: drop trailing spaces 2018-02-07 13:32:04 +01:00