]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove extraneous semicolons
authorAlan T. DeKok <aland@freeradius.org>
Wed, 23 Oct 2019 14:59:16 +0000 (10:59 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 23 Oct 2019 16:54:51 +0000 (12:54 -0400)
src/bin/unit_test_attribute.c
src/lib/server/command.c
src/lib/soh/soh.c
src/lib/util/dict_tokenize.c
src/lib/util/event.c

index 1b1d1728df9cbbd17a020ddb85f82132db349159..76b3e9b7dc52ca3a887c97b0ea8cfcd50825dd5c 100644 (file)
@@ -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
index a90dc7722c2beea969a249400eab4931dfa0630d..d74d40506afd5d67e747fc018ff561910aacd772 100644 (file)
@@ -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;
                        }
index e493445b691a555d00af3fbaa146cb3aac17ae0b..85c144d3cb642bcf851e8a64c179aced05ee6f6b 100644 (file)
@@ -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;
 
index 5ea8f21aee028807cba72c64cb5630314375966e..c5a6256b0ebf6ccfe77f837244ad8276b50d3748 100644 (file)
@@ -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;
                }
        }
 
index 01c142cc979aba73f2f630894842c2de6e2df00b..410a2ec62ce6c474eecc45aa3e3d75d4d638ef54 100644 (file)
@@ -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.