Skip to content

Conversation

@ThalesBarretto
Copy link
Contributor

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.

@gluster-ant
Copy link
Collaborator

Can one of the admins verify this patch?

1 similar comment
@gluster-ant
Copy link
Collaborator

Can one of the admins verify this patch?

@gluster-ant
Copy link
Collaborator

CLANG-FORMAT FAILURE:
Before merging the patch, this diff needs to be considered for passing clang-format

index 39fa0b6ca..e524cd46a 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};

@ThalesBarretto ThalesBarretto marked this pull request as ready for review March 11, 2025 02:42
	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 <[email protected]>
#  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(-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants