diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-02-28 13:53:28 +0100 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-02-28 14:11:19 +0100 |
commit | 944e10700c98f8ac71c2385fd96671167463fcf0 (patch) | |
tree | 92f215b977ee049b757b02cc8b398de644197222 /pop3.c | |
parent | e2baa1aa1cc0ec28d716228f150d29c632e57ade (diff) | |
download | fetchmail-944e10700c98f8ac71c2385fd96671167463fcf0.tar.gz fetchmail-944e10700c98f8ac71c2385fd96671167463fcf0.tar.bz2 fetchmail-944e10700c98f8ac71c2385fd96671167463fcf0.zip |
Remove unused assignments/initializations found with llvm-clang.
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -774,7 +774,7 @@ static int pop3_gettopid(int sock, int num , char *id, size_t idsize) if ((ok = gen_transact(sock, "%s", buf)) != 0) return ok; got_it = 0; - while ((ok = gen_recv(sock, buf, sizeof(buf))) == 0) + while (gen_recv(sock, buf, sizeof(buf)) == 0) { if (DOTLINE(buf)) break; @@ -1065,10 +1065,10 @@ static int pop3_getrange(int sock, if (dofastuidl) return(pop3_fastuidl( sock, ctl, *countp, newp)); /* grab the mailbox's UID list */ - if ((ok = gen_transact(sock, "UIDL")) != 0) + if (gen_transact(sock, "UIDL") != 0) { /* don't worry, yet! do it the slow way */ - if ((ok = pop3_slowuidl(sock, ctl, countp, newp))) + if (pop3_slowuidl(sock, ctl, countp, newp)) { report(stderr, GT_("protocol error while fetching UIDLs\n")); return(PS_ERROR); @@ -1080,7 +1080,7 @@ static int pop3_getrange(int sock, unsigned long unum; *newp = 0; - while ((ok = gen_recv(sock, buf, sizeof(buf))) == PS_SUCCESS) + while (gen_recv(sock, buf, sizeof(buf)) == PS_SUCCESS) { if (DOTLINE(buf)) break; |