NetworkManager/examples/C/glib
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
..
add-connection-gdbus.c all: require glib 2.40 2018-01-18 11:45:36 +01:00
add-connection-libnm.c all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
get-active-connections-gdbus.c all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
get-ap-info-libnm.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
list-connections-gdbus.c all: require glib 2.40 2018-01-18 11:45:36 +01:00
list-connections-libnm.c all: require glib 2.40 2018-01-18 11:45:36 +01:00
meson.build version: drop NM_VERSION_MAX_ALLOWED defines for internal build 2018-01-23 10:50:34 +01:00
monitor-nm-running-gdbus.c all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
monitor-nm-state-gdbus.c all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00