Skip to content

Commit

Permalink
imapd.c:cmd_create() - remove dead code
Browse files Browse the repository at this point in the history
The last value assigned to printsp is never read.
  • Loading branch information
dilyanpalauzov committed Sep 3, 2023
1 parent 7487746 commit d12cc50
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions imap/imapd.c
Original file line number Diff line number Diff line change
Expand Up @@ -7590,7 +7590,6 @@ static void cmd_create(char *tag, char *name, struct dlist *extargs, int localon
prot_printf(s_conn->out, " (");
int printsp = 0;
if (specialuse.len) {
if (printsp) prot_putc(' ', s_conn->out);
printsp = 1;
prot_printf(s_conn->out, "USE (%s)", buf_cstring(&specialuse));
}
Expand All @@ -7604,7 +7603,6 @@ static void cmd_create(char *tag, char *name, struct dlist *extargs, int localon

if (uniqueid) {
if (printsp) prot_putc(' ', s_conn->out);
printsp = 1;
prot_printf(s_conn->out, "MAILBOXID ");
prot_printastring(s_conn->out, uniqueid);
}
Expand Down

0 comments on commit d12cc50

Please sign in to comment.