aboutsummaryrefslogtreecommitdiffstats
path: root/transact.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-02-28 13:53:28 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-02-28 14:11:19 +0100
commit944e10700c98f8ac71c2385fd96671167463fcf0 (patch)
tree92f215b977ee049b757b02cc8b398de644197222 /transact.c
parente2baa1aa1cc0ec28d716228f150d29c632e57ade (diff)
downloadfetchmail-944e10700c98f8ac71c2385fd96671167463fcf0.tar.gz
fetchmail-944e10700c98f8ac71c2385fd96671167463fcf0.tar.bz2
fetchmail-944e10700c98f8ac71c2385fd96671167463fcf0.zip
Remove unused assignments/initializations found with llvm-clang.
Diffstat (limited to 'transact.c')
-rw-r--r--transact.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/transact.c b/transact.c
index 857d7a35..85d8b009 100644
--- a/transact.c
+++ b/transact.c
@@ -529,8 +529,8 @@ int readheaders(int sock,
tcp = line + linelen - 1;
*tcp++ = '\r';
*tcp++ = '\n';
- *tcp++ = '\0';
- n++;
+ *tcp = '\0';
+ /* n++; - not used later on */
linelen++;
}
else
@@ -1332,7 +1332,7 @@ process_headers:
cp = buf;
*cp++ = '\r';
*cp++ = '\n';
- *cp++ = '\0';
+ *cp = '\0';
n = stuffline(ctl, buf);
if ((size_t)n == strlen(buf))