1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

util: Value stored to 'count' is never read

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
Amadeusz Sławiński
2014-05-18 13:32:47 +02:00
committed by Carlos R. Mafra
parent 9384e3273f
commit 22f1ae15e6

View File

@@ -868,7 +868,6 @@ static int readmsg(int fd, char *buffer, int size)
{ {
int count; int count;
count = 0;
while (size > 0) { while (size > 0) {
count = read(fd, buffer, size); count = read(fd, buffer, size);
if (count < 0) if (count < 0)