summaryrefslogtreecommitdiffstats
path: root/byterun/debugger.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2014-04-18 10:06:03 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2014-04-18 10:06:03 +0000
commit443b7d722afe185e3f1b03259d22e3f8cbb4586b (patch)
treec456f47ddd11c4ddb3c41b3f367755d1f6b70e4e /byterun/debugger.c
parentdd17af8b4342a8255173ebda7102e50de1bd2ec9 (diff)
As mentioned by gcc -Wall, the variable "frame_number" is useless. Removed it.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14637 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/debugger.c')
-rw-r--r--byterun/debugger.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/byterun/debugger.c b/byterun/debugger.c
index d64583f2d..6024ed92f 100644
--- a/byterun/debugger.c
+++ b/byterun/debugger.c
@@ -250,7 +250,6 @@ static void safe_output_value(struct channel *chan, value val)
void caml_debugger(enum event_kind event)
{
- int frame_number;
value * frame;
intnat i, pos;
value val;
@@ -258,7 +257,6 @@ void caml_debugger(enum event_kind event)
if (dbg_socket == -1) return; /* Not connected to a debugger. */
/* Reset current frame */
- frame_number = 0;
frame = caml_extern_sp + 1;
/* Report the event to the debugger */