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 | 38d844df150f3e69bf4935540054717a612c449a (patch) | |
| tree | 2299b80ee73dd4c6d2c2d5503b60c35e7bfbf98e /cpp/src | |
| parent | 2bb4e16fc58a5bc90803a5ffb40137d70db85fa9 (diff) | |
| download | qpid-python-38d844df150f3e69bf4935540054717a612c449a.tar.gz | |
QPID-5055: initialise some paged queue variables
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1511740 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
| -rw-r--r-- | cpp/src/qpid/broker/PagedQueue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/PagedQueue.cpp b/cpp/src/qpid/broker/PagedQueue.cpp index e11be471c0..862e9c0d48 100644 --- a/cpp/src/qpid/broker/PagedQueue.cpp +++ b/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 << "]"); |
