about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-10-19T13·02+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-10-19T13·02+0200
commite5346c54df91c23cf75004a65d0436cdc1c0351a (patch)
tree83737da70fff1504163029a3b8a277fef73c531a
parentf702c92262367cb908646538cc5260439f487dae (diff)
Fix uninitialised variable
-rw-r--r--src/libstore/download.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc
index 97e9b0b2fd66..16a0bec67ea1 100644
--- a/src/libstore/download.cc
+++ b/src/libstore/download.cc
@@ -334,7 +334,7 @@ struct CurlDownloader : public Downloader
     {
         std::map<CURL *, std::shared_ptr<DownloadItem>> items;
 
-        bool quit;
+        bool quit = false;
 
         std::chrono::steady_clock::time_point nextWakeup;