qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r1511740 - /qpid/trunk/qpid/cpp/src/qpid/broker/PagedQueue.cpp
Date Thu, 08 Aug 2013 12:26:56 GMT
Author: gsim
Date: Thu Aug  8 12:26:56 2013
New Revision: 1511740

URL: http://svn.apache.org/r1511740
Log:
QPID-5055: initialise some paged queue variables

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/PagedQueue.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/PagedQueue.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/PagedQueue.cpp?rev=1511740&r1=1511739&r2=1511740&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/PagedQueue.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/PagedQueue.cpp Thu Aug  8 12:26:56 2013
@@ -64,7 +64,7 @@ size_t decode(ProtocolRegistry& protocol
 }
 
 PagedQueue::PagedQueue(const std::string& name, const std::string& directory, uint
m, uint factor, ProtocolRegistry& p)
-    : pageSize(file.getPageSize()*factor), maxLoaded(m), protocols(p), offset(0)
+    : pageSize(file.getPageSize()*factor), maxLoaded(m), protocols(p), offset(0), loaded(0),
version(0)
 {
     path = file.open(name, directory);
     QPID_LOG(debug, "PagedQueue[" << path << "]");



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message