diff --git a/sane/scanned_img.h b/sane/scanned_img.h index 7a18027..3df550e 100644 --- a/sane/scanned_img.h +++ b/sane/scanned_img.h @@ -144,7 +144,7 @@ public: T take(bool remove = true, void(__stdcall* first)(T) = NULL) { std::lock_guard lock(lock_); - TNS t = 0; + TNS t; if (queue_.size()) {