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 /transact.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 'transact.c')
-rw-r--r-- | transact.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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)) |