Revision 2f5cc443 src/eventlog/event.cc

View differences:

src/eventlog/event.cc
150 150

  
151 151
        Assert(eventEntry);
152 152

  
153
        EventEndEntry * readEventEndEntry = dynamic_cast<EventEndEntry*>(eventLogEntry);
154

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

  
153 159
        // handle module method end
154 160
        ModuleMethodEndEntry *moduleMethodEndEntry = dynamic_cast<ModuleMethodEndEntry *>(eventLogEntry);
155 161
        if (moduleMethodEndEntry)
......
173 179
        if (dynamic_cast<BeginSendEntry *>(eventLogEntry))
174 180
            numBeginSendEntries++;
175 181
    }
176

  
177 182
    return endOffset = reader->getCurrentLineStartOffset();
178 183
}
179 184

  

Also available in: Unified diff