diff options
author | Max Kellermann <max@musicpd.org> | 2016-11-10 12:58:26 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-11-10 12:58:26 +0100 |
commit | 22dcca9832e30c27630041bee867639e05ffd072 (patch) | |
tree | 7a03453cdc3881f5cfe09b878d6aa558d5ea5e67 /test/WriteFile.cxx | |
parent | db6c0d54cfc2eb9741b4e5c7634f41eecb2d4703 (diff) |
util/Error: remove obsolete class
Diffstat (limited to 'test/WriteFile.cxx')
-rw-r--r-- | test/WriteFile.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/WriteFile.cxx b/test/WriteFile.cxx index 307d89c61..e5c9c0b2d 100644 --- a/test/WriteFile.cxx +++ b/test/WriteFile.cxx @@ -20,7 +20,6 @@ #include "config.h" #include "fs/io/FileOutputStream.hxx" #include "Log.hxx" -#include "util/Error.hxx" #include <unistd.h> #include <errno.h> @@ -32,8 +31,6 @@ static bool Copy(OutputStream &dest, int src) { - Error error; - while (true) { uint8_t buffer[8192]; ssize_t nbytes = read(src, buffer, sizeof(buffer)); |