From 59abb42db1d20033c283ed382f26606ab70c4b77 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(-) 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};