Fix bogus warnings about dumping large paths

Also, yay for C++11 non-static initialisers.
This commit is contained in:
Eelco Dolstra 2014-06-12 13:15:35 +02:00
parent 0960d674d4
commit 48495f67ed

View file

@ -72,8 +72,8 @@ struct BufferedSource : Source
struct FdSink : BufferedSink
{
int fd;
bool warn;
size_t written;
bool warn = false;
size_t written = 0;
FdSink() : fd(-1) { }
FdSink(int fd) : fd(fd) { }