From b3d8f2796a2a060b35a5e77d808dd031db2a3a37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Tue, 19 Nov 2024 10:39:47 +0100 Subject: [PATCH] Remove redundant semicolons after the closing braces of functions (cherry picked from commit 1a19ce39db12ed4ecf59a3d0f5734656d24999a5) --- bin/dig/readline.h | 2 +- lib/ns/client.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/dig/readline.h b/bin/dig/readline.h index 1d778303ac..5341994586 100644 --- a/bin/dig/readline.h +++ b/bin/dig/readline.h @@ -51,7 +51,7 @@ readline(const char *prompt) { return NULL; } return buf; -}; +} #define add_history(line) diff --git a/lib/ns/client.c b/lib/ns/client.c index 4f7c88c356..d8cd84bc5f 100644 --- a/lib/ns/client.c +++ b/lib/ns/client.c @@ -215,7 +215,7 @@ ns_client_extendederror(ns_client_t *client, uint16_t code, const char *text) { client->ede->length = len; client->ede->value = isc_mem_get(client->mctx, len); memmove(client->ede->value, ede, len); -}; +} static void ns_client_endrequest(ns_client_t *client) {