util/Error: remove obsolete class

This commit is contained in:
Max Kellermann
2016-11-10 12:58:26 +01:00
parent db6c0d54cf
commit 22dcca9832
36 changed files with 3 additions and 433 deletions

View File

@@ -4,7 +4,6 @@
#include "config.h"
#include "fs/Glob.hxx"
#include "util/Error.hxx"
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/TestFactoryRegistry.h>

View File

@@ -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>

View File

@@ -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));

View File

@@ -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>

View File

@@ -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>

View File

@@ -23,7 +23,6 @@
#include "storage/Registry.hxx"
#include "storage/StorageInterface.hxx"
#include "storage/FileInfo.hxx"
#include "util/Error.hxx"
#include <memory>
#include <stdexcept>

View File

@@ -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);

View File

@@ -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>