From: Andreas Schneider Date: Tue, 8 Jan 2019 15:59:23 +0000 (+0100) Subject: s3:lib: Use POPT_TABLEEND for last element of poptOption X-Git-Tag: ldb-1.6.1~399 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54c1ab6d755b03ea0f43cb583e28f1006d61c01e;p=thirdparty%2Fsamba.git s3:lib: Use POPT_TABLEEND for last element of poptOption Signed-off-by: Andreas Schneider Reviewed-by: Douglas Bagnall --- diff --git a/source3/lib/smbconf/testsuite.c b/source3/lib/smbconf/testsuite.c index 1e8d0fe27ee..0053f9f042d 100644 --- a/source3/lib/smbconf/testsuite.c +++ b/source3/lib/smbconf/testsuite.c @@ -293,7 +293,7 @@ int main(int argc, const char **argv) struct poptOption long_options[] = { POPT_COMMON_SAMBA - {0, 0, 0, 0} + POPT_TABLEEND }; smb_init_locale();