NetworkManager/src/vpn
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
..
nm-vpn-connection.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-vpn-connection.h core: specify an activation reason for active connections 2018-04-08 09:40:14 +02:00
nm-vpn-manager.c core,clients: use our own string hashing function nm_str_hash() 2017-10-18 13:05:00 +02:00
nm-vpn-manager.h build: rename "src/vpn-manager" to "src/vpn" 2016-11-21 14:07:47 +01:00