Revision daf081df src/eventlog/event.cc

View differences:

src/eventlog/event.cc
123 123

  
124 124
        if (!line) {
125 125
            Assert(eventEntry);
126
            Assert(eventEndEntry);
126 127
            endOffset = reader->getFileSize();
127 128
            return endOffset;
128 129
        }
......
154 155

  
155 156
        if(readEventEndEntry) {
156 157
            eventEndEntry = readEventEndEntry;
158
            continue;
157 159
        }
158 160

  
159 161
        // handle module method end
......
179 181
        if (dynamic_cast<BeginSendEntry *>(eventLogEntry))
180 182
            numBeginSendEntries++;
181 183
    }
184
    Assert(eventEndEntry);
182 185
    return endOffset = reader->getCurrentLineStartOffset();
183 186
}
184 187

  

Also available in: Unified diff