value of int i was not used in the loop or after the loop.
Pushed as obvious.
+2018-05-19 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * stack.c (backtrace_command_1): Remove useless variable int i.
+
2018-05-19 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* stack.c (print_frame_info): Fix comment.
{
struct frame_info *fi;
int count;
- int i;
int py_start = 0, py_end = 0;
enum ext_lang_bt_status result = EXT_LANG_BT_ERROR;
count = -1;
}
- for (i = 0, fi = trailing; fi && count--; i++, fi = get_prev_frame (fi))
+ for (fi = trailing; fi && count--; fi = get_prev_frame (fi))
{
QUIT;