Skip to content

Commit 65d21d7

Browse files
author
Rob Sanders
committed
Additional (missed) style consistency edit
1 parent 4472281 commit 65d21d7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

libcli.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2172,9 +2172,8 @@ int cli_unregister_optarg(struct cli_command *cmd, const char *name) {
21722172
struct cli_optarg *lastptr;
21732173
int retval = CLI_ERROR;
21742174
// iterate looking for this option name, stopping at end or if name matches
2175-
for (lastptr = NULL, ptr = cmd->optargs; ptr && strcmp(ptr->name, name); lastptr = ptr, ptr = ptr->next) {
2175+
for (lastptr = NULL, ptr = cmd->optargs; ptr && strcmp(ptr->name, name); lastptr = ptr, ptr = ptr->next)
21762176
;
2177-
}
21782177

21792178
// if ptr, then we found the optarg to delete
21802179
if (ptr) {

0 commit comments

Comments
 (0)