From c37dabd94f4c526efb6e9de013095d49e4d026b5 Mon Sep 17 00:00:00 2001 From: Thales Antunes de Oliveira Barretto Date: Sun, 9 Mar 2025 15:21:22 -0300 Subject: [PATCH] Fix extra member in xlators/features/changelog/src/changelog-rpc.c The "static struct rpcsvc_program *changelog_programs[]" includes an extra member by introducing a stray comma after "NULL". This commit fixes that by removing the stray comma. Signed-off-by: Thales Antunes de Oliveira Barretto # xlators/features/changelog/src/changelog-rpc.c | 6 ++---- # 1 file changed, 2 insertions(+), 4 deletions(-) # xlators/features/changelog/src/changelog-rpc.c | 6 ++---- # 1 file changed, 2 insertions(+), 4 deletions(-) # xlators/features/changelog/src/changelog-rpc.c | 6 ++---- # 1 file changed, 2 insertions(+), 4 deletions(-) --- xlators/features/changelog/src/changelog-rpc.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/xlators/features/changelog/src/changelog-rpc.c b/xlators/features/changelog/src/changelog-rpc.c index 83e9f322e3c..e524cd46a1b 100644 --- a/xlators/features/changelog/src/changelog-rpc.c +++ b/xlators/features/changelog/src/changelog-rpc.c @@ -435,7 +435,5 @@ static struct rpcsvc_program changelog_svc_prog = { .synctask = _gf_true, }; -static struct rpcsvc_program *changelog_programs[] = { - &changelog_svc_prog, - NULL, -}; +static struct rpcsvc_program *changelog_programs[] = {&changelog_svc_prog, + NULL};