diff options
author | Andreas Schneider <asn@samba.org> | 2018-12-13 10:34:11 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-01-28 10:29:21 +0100 |
commit | 611b6c7ebc7f876d73295fd4ceb3e7712ac9b510 (patch) | |
tree | 13625f96eba4dc18c1c3a799160c066c7cb7ef0e /ctdb/common/tunable.c | |
parent | 14c7d19b6302cfa42eba5bdebb1d588d6c148f80 (diff) | |
download | samba-611b6c7ebc7f876d73295fd4ceb3e7712ac9b510.tar.gz |
ctdb: Use C99 initializer for last element of tunables
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'ctdb/common/tunable.c')
-rw-r--r-- | ctdb/common/tunable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/common/tunable.c b/ctdb/common/tunable.c index f516d8c5374..8d475858c5f 100644 --- a/ctdb/common/tunable.c +++ b/ctdb/common/tunable.c @@ -157,7 +157,7 @@ static struct { offsetof(struct ctdb_tunable_list, ip_alloc_algorithm) }, { "AllowMixedVersions", 0, false, offsetof(struct ctdb_tunable_list, allow_mixed_versions) }, - { NULL, 0, true, } + { .obsolete = true, } }; void ctdb_tunable_set_defaults(struct ctdb_tunable_list *tun_list) |