NetworkManager/src/supplicant
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: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nm-supplicant-config.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-supplicant-config.h wifi: enable WPA-*-SHA256 AKMs only when the supplicant supports them 2018-01-22 08:38:28 +01:00
nm-supplicant-interface.c core: use nm_utils_dbus_normalize_object_path() to cleanup D-Bus argument 2018-04-18 07:55:15 +02:00
nm-supplicant-interface.h supplicant: enable FILS only when wpa_supplicant supports it 2018-01-16 15:01:59 +01:00
nm-supplicant-manager.c supplicant: enable FILS only when wpa_supplicant supports it 2018-01-16 15:01:59 +01:00
nm-supplicant-manager.h supplicant: add an enum to specify the driver 2017-01-16 17:37:14 +01:00
nm-supplicant-settings-verify.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-supplicant-settings-verify.h all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nm-supplicant-types.h all: replace non-leading tabs with spaces 2018-02-07 13:32:04 +01:00