NetworkManager/src/settings
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
..
plugins all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-agent-manager.c shared: drop duplicate c-list.h header 2018-04-18 15:22:14 +02:00
nm-agent-manager.h core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API 2018-03-12 18:37:08 +01:00
nm-secret-agent.c shared: drop duplicate c-list.h header 2018-04-18 15:22:14 +02:00
nm-secret-agent.h core: refactor NMSecretAgentCallId typedef not to be a pointer to struct 2017-11-24 16:24:40 +01:00
nm-settings-connection.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-settings-connection.h all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nm-settings-plugin.c ifcfg-rh: refactor nm_settings_plugin_add_connection() to return on error early 2017-10-27 10:28:41 +02:00
nm-settings-plugin.h all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nm-settings.c settings: avoid lookup in nm_settings_has_connection() 2018-04-30 16:36:29 +02:00
nm-settings.h settings: pass in authentication subject to nm_settings_add_connection_dbus() 2018-04-24 10:25:26 +02:00