From: Alan T. DeKok Date: Wed, 23 Oct 2019 14:59:16 +0000 (-0400) Subject: remove extraneous semicolons X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4bc313fc08cc4a920fc5dca621338a6677616aa;p=thirdparty%2Ffreeradius-server.git remove extraneous semicolons --- diff --git a/src/bin/unit_test_attribute.c b/src/bin/unit_test_attribute.c index 1b1d1728df9..76b3e9b7dc5 100644 --- a/src/bin/unit_test_attribute.c +++ b/src/bin/unit_test_attribute.c @@ -233,7 +233,7 @@ static void mismatch_print(command_ctx_t *cc, char const *command, memset(spaces, ' ', talloc_array_length(spaces) - 1); ERROR(" %s^ differs here", spaces); talloc_free(spaces); - }; + } } /** Print hex string to buffer diff --git a/src/lib/server/command.c b/src/lib/server/command.c index a90dc7722c2..d74d40506af 100644 --- a/src/lib/server/command.c +++ b/src/lib/server/command.c @@ -440,7 +440,7 @@ static int split(char **input, char **output, bool syntax_string) if (!*str) { fr_strerror_printf("Invalid backslash at end of string."); return -1; - }; + } str++; continue; } diff --git a/src/lib/soh/soh.c b/src/lib/soh/soh.c index e493445b691..85c144d3cb6 100644 --- a/src/lib/soh/soh.c +++ b/src/lib/soh/soh.c @@ -223,7 +223,7 @@ static int eap_peap_soh_mstlv(REQUEST *request, uint8_t const *p, unsigned int d vp->vp_uint32 = soh_pull_be_16(p); p += 2; - MEM(pair_update_request(&vp, attr_soh_ms_machine_sp_release) >= 0) + MEM(pair_update_request(&vp, attr_soh_ms_machine_sp_release) >= 0); vp->vp_uint32 = soh_pull_be_16(p); p += 2; diff --git a/src/lib/util/dict_tokenize.c b/src/lib/util/dict_tokenize.c index 5ea8f21aee0..c5a6256b0eb 100644 --- a/src/lib/util/dict_tokenize.c +++ b/src/lib/util/dict_tokenize.c @@ -1476,7 +1476,7 @@ static int fr_dict_finalise(dict_tokenize_ctx_t *ctx) this->da->dict = dict; this->da->ref = da; - next = this->next;; + next = this->next; } } diff --git a/src/lib/util/event.c b/src/lib/util/event.c index 01c142cc979..410a2ec62ce 100644 --- a/src/lib/util/event.c +++ b/src/lib/util/event.c @@ -1210,7 +1210,7 @@ uintptr_t fr_event_user_insert(fr_event_list_t *el, fr_event_user_handler_t call fr_dlist_insert_tail(&el->user_callbacks, user); - return user->ident;; + return user->ident; } /** Delete a user callback to the event list.