forked from lix-project/lix
Fix bogus warnings about dumping large paths
Also, yay for C++11 non-static initialisers.
This commit is contained in:
parent
0960d674d4
commit
48495f67ed
|
@ -72,8 +72,8 @@ struct BufferedSource : Source
|
||||||
struct FdSink : BufferedSink
|
struct FdSink : BufferedSink
|
||||||
{
|
{
|
||||||
int fd;
|
int fd;
|
||||||
bool warn;
|
bool warn = false;
|
||||||
size_t written;
|
size_t written = 0;
|
||||||
|
|
||||||
FdSink() : fd(-1) { }
|
FdSink() : fd(-1) { }
|
||||||
FdSink(int fd) : fd(fd) { }
|
FdSink(int fd) : fd(fd) { }
|
||||||
|
|
Loading…
Reference in a new issue