Skip to content

Commit

Permalink
Remove/change some unused variables, from Martin Vahlensieck.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed Jan 7, 2021
1 parent caeb285 commit d911b0c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion db-tdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ db_size(TDB_CONTEXT *db)

int
db_print_item(
unused TDB_CONTEXT *tdb, unused TDB_DATA key, TDB_DATA value, void *ptr)
unused TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA value, void *ptr)
{
void (*p)(const char *, ...) = ptr;
struct cacheitem v;
Expand Down
1 change: 0 additions & 1 deletion imap-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,6 @@ imap_state_login1(struct account *a, struct fetch_ctx *fctx)
{
struct fetch_imap_data *data = a->data;
char *line;
size_t passlen;

if (imap_getln(a, fctx, IMAP_TAGGED, &line) != 0)
return (FETCH_ERROR);
Expand Down
3 changes: 1 addition & 2 deletions pop3-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,7 @@ pop3_state_connect(struct account *a, struct fetch_ctx *fctx)
int
pop3_state_starttls(struct account *a, struct fetch_ctx *fctx)
{
struct fetch_pop3_data *data = a->data;
char *line;
char *line;

if (pop3_getln(a, fctx, &line) != 0)
return (FETCH_ERROR);
Expand Down

0 comments on commit d911b0c

Please sign in to comment.