aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index e51c689..3da46dd 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -2629,7 +2629,8 @@ frame_apply_level_command (const char *cmd, int from_tty)
/* Skip the LEVEL list to find the flags and command args. */
while (!levels.finished ())
{
- const int level_beg = levels.get_number ();
+ /* Call for effect. */
+ levels.get_number ();
level_found = true;
if (levels.in_range ())