Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2013-06-18 21:33:44 -0400
committerEugene Tarassov2013-06-18 21:33:44 -0400
commit8950a24c3aa0c8a2c5176fedc57fe53a33e0692d (patch)
treef0014dd18c0273164fae6d071130731cfa6e0da0 /agent/tcf/services/stacktrace.c
parent1f4724cc4c7a4eeda7556aacc6468070343fb059 (diff)
downloadorg.eclipse.tcf.agent-8950a24c3aa0c8a2c5176fedc57fe53a33e0692d.tar.gz
org.eclipse.tcf.agent-8950a24c3aa0c8a2c5176fedc57fe53a33e0692d.tar.xz
org.eclipse.tcf.agent-8950a24c3aa0c8a2c5176fedc57fe53a33e0692d.zip
TCF Agent: Redundant code in get_top_frame() is removed
Diffstat (limited to 'agent/tcf/services/stacktrace.c')
-rw-r--r--agent/tcf/services/stacktrace.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/agent/tcf/services/stacktrace.c b/agent/tcf/services/stacktrace.c
index 828bb99e..ee92bf72 100644
--- a/agent/tcf/services/stacktrace.c
+++ b/agent/tcf/services/stacktrace.c
@@ -468,13 +468,6 @@ int get_top_frame(Context * ctx) {
return STACK_TOP_FRAME;
}
- stack = create_stack_trace(ctx, 1);
- if (stack->error != NULL) {
- set_error_report_errno(stack->error);
- return STACK_TOP_FRAME;
- }
-
- assert(stack->frame_cnt > 0);
return 0;
}

Back to the top