projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42b10e4
)
Reset pending call lists on Parser::setBookmark().
author
José Fonseca
<jose.r.fonseca@gmail.com>
Sun, 11 Sep 2011 20:50:22 +0000
(21:50 +0100)
committer
José Fonseca
<jose.r.fonseca@gmail.com>
Sun, 11 Sep 2011 20:50:22 +0000
(21:50 +0100)
trace_parser.cpp
patch
|
blob
|
history
diff --git
a/trace_parser.cpp
b/trace_parser.cpp
index
a7268af
..
1fa901e
100644
(file)
--- a/
trace_parser.cpp
+++ b/
trace_parser.cpp
@@
-114,6
+114,9
@@
void Parser::getBookmark(ParseBookmark &bookmark) {
void Parser::setBookmark(const ParseBookmark &bookmark) {
file->setCurrentOffset(bookmark.offset);
next_call_no = bookmark.next_call_no;
+
+ // Simply ignore all pending calls
+ deleteAll(calls);
}