summaryrefslogtreecommitdiff
path: root/ctdb/common
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-12-13 10:34:11 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-01-28 10:29:21 +0100
commit611b6c7ebc7f876d73295fd4ceb3e7712ac9b510 (patch)
tree13625f96eba4dc18c1c3a799160c066c7cb7ef0e /ctdb/common
parent14c7d19b6302cfa42eba5bdebb1d588d6c148f80 (diff)
downloadsamba-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')
-rw-r--r--ctdb/common/tunable.c2
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)