diff options
| author | Gordon Sim <gsim@apache.org> | 2013-08-08 12:26:56 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2013-08-08 12:26:56 +0000 |
| commit | 687332e83688f073a640b328d327e19b08e013bb (patch) | |
| tree | 3fe87ab26432f4c965ea5b040fe2443ef2d0d75e /qpid/cpp/src | |
| parent | bf9cb6739b8f49a866a3770df587361374ef8d04 (diff) | |
| download | qpid-python-687332e83688f073a640b328d327e19b08e013bb.tar.gz | |
QPID-5055: initialise some paged queue variables
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1511740 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/broker/PagedQueue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/PagedQueue.cpp b/qpid/cpp/src/qpid/broker/PagedQueue.cpp index e11be471c0..862e9c0d48 100644 --- a/qpid/cpp/src/qpid/broker/PagedQueue.cpp +++ b/qpid/cpp/src/qpid/broker/PagedQueue.cpp @@ -64,7 +64,7 @@ size_t decode(ProtocolRegistry& protocols, Message& msg, const char* data, size_ } 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 << "]"); |
