util/Error: remove obsolete class
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "fs/Glob.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
||||
#include <cppunit/TestFixture.h>
|
||||
#include <cppunit/extensions/TestFactoryRegistry.h>
|
||||
|
@@ -6,7 +6,6 @@
|
||||
#include "lib/icu/Converter.hxx"
|
||||
#include "util/AllocatedString.hxx"
|
||||
#include "util/StringAPI.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
||||
#include <cppunit/TestFixture.h>
|
||||
#include <cppunit/extensions/TestFactoryRegistry.h>
|
||||
|
@@ -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));
|
||||
|
@@ -25,7 +25,6 @@
|
||||
#include "Main.hxx"
|
||||
#include "event/Loop.hxx"
|
||||
#include "config/Block.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
|
@@ -22,7 +22,6 @@
|
||||
#include "fs/io/FileReader.hxx"
|
||||
#include "fs/io/StdioOutputStream.hxx"
|
||||
#include "Log.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@@ -23,7 +23,6 @@
|
||||
#include "storage/Registry.hxx"
|
||||
#include "storage/StorageInterface.hxx"
|
||||
#include "storage/FileInfo.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
||||
|
@@ -7,7 +7,6 @@
|
||||
#include "input/InputStream.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
#include "thread/Cond.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
||||
#include <cppunit/TestFixture.h>
|
||||
#include <cppunit/extensions/TestFactoryRegistry.h>
|
||||
@@ -73,7 +72,6 @@ public:
|
||||
CPPUNIT_ASSERT(!ris->KnownSize());
|
||||
CPPUNIT_ASSERT_EQUAL(offset_type(0), ris->GetOffset());
|
||||
|
||||
Error error;
|
||||
char buffer[16];
|
||||
size_t nbytes = ris->Read(buffer, 2);
|
||||
CPPUNIT_ASSERT_EQUAL(size_t(2), nbytes);
|
||||
|
@@ -15,7 +15,6 @@
|
||||
#include "Log.hxx"
|
||||
#include "db/DatabaseSong.hxx"
|
||||
#include "storage/plugins/LocalStorage.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "Mapper.hxx"
|
||||
|
||||
#include <cppunit/TestFixture.h>
|
||||
|
Reference in New Issue
Block a user