Skip to content

Commit 9aaf05b

Browse files
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 <thales.barretto.git@gmail.com> # 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(-)
1 parent 9e95395 commit 9aaf05b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

xlators/features/changelog/src/changelog-rpc.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,5 @@ static struct rpcsvc_program changelog_svc_prog = {
435435
.synctask = _gf_true,
436436
};
437437

438-
static struct rpcsvc_program *changelog_programs[] = {
439-
&changelog_svc_prog,
440-
NULL,
441-
};
438+
static struct rpcsvc_program *changelog_programs[] = {&changelog_svc_prog,
439+
NULL};

0 commit comments

Comments
 (0)