diff options
author | Andreas Schneider <asn@samba.org> | 2018-12-12 21:30:44 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-01-17 11:35:12 +0100 |
commit | 1937b0cb1533ecf8178a20301b06584973ec7d5b (patch) | |
tree | fc673b799f5d6d210456366b34f3b42141861352 /script | |
parent | a67b711ebcc8c88f37a09e8bbdbc97e412d76911 (diff) | |
download | samba-1937b0cb1533ecf8178a20301b06584973ec7d5b.tar.gz |
generate_param.py: Use C99 initializer for last element in param table
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'script')
-rw-r--r-- | script/generate_param.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/generate_param.py b/script/generate_param.py index 4580f096c8b..5f8a50562d4 100644 --- a/script/generate_param.py +++ b/script/generate_param.py @@ -393,7 +393,7 @@ def make_param_table(path_in, path_out): file_out.write("\t\t.flags\t\t= %s,\n" % flags) file_out.write("\t},\n") - file_out.write("\n\t{NULL, P_BOOL, P_NONE, 0, NULL, NULL, 0}\n") + file_out.write("\n\t{ .label = NULL }\n") file_out.write("};\n") file_out.write("\n#endif /* %s */\n\n" % header) finally: |