Permalink
Browse files

As mentioned by gcc -Wall, the variable "frame_number" is useless. Re…

…moved it.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14637 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information...
1 parent dd17af8 commit 443b7d722afe185e3f1b03259d22e3f8cbb4586b @xavierleroy xavierleroy committed Apr 18, 2014
Showing with 0 additions and 2 deletions.
  1. +0 −2 byterun/debugger.c
View
@@ -250,15 +250,13 @@ 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;
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 */

0 comments on commit 443b7d7

Please sign in to comment.