From bf8ddcb300c5f627e8960d446a7b377d5d7f93be Mon Sep 17 00:00:00 2001 From: Thulinma Date: Tue, 11 Oct 2016 15:20:13 +0200 Subject: [PATCH] Removed dead code --- lib/shared_memory.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/shared_memory.cpp b/lib/shared_memory.cpp index 4caa538f..554715c7 100644 --- a/lib/shared_memory.cpp +++ b/lib/shared_memory.cpp @@ -757,7 +757,6 @@ namespace IPC { ///\param len The lenght of the payload ///\param withCounter Whether the content should have a counter void sharedServer::init(std::string name, int len, bool withCounter) { - amount = 0; if (mySemaphore) { mySemaphore.close(); }