Code cleanup

This commit is contained in:
Zoran Vuckovic 2017-04-25 23:06:54 +02:00 committed by twinaphex
parent 409a6136b8
commit 4a715e79e3

View File

@ -723,10 +723,7 @@ static ssize_t wasapi_write(void *wh, const void *data, size_t size)
else else
ir = wasapi_write_sh(w, data + writen, size - writen); ir = wasapi_write_sh(w, data + writen, size - writen);
if (ir == -1) if (ir == -1)
{ return -1;
writen = -1;
break;
}
} }
} }
else if (w->exclusive) else if (w->exclusive)