Fix compile time warnings about comparisons always being false.
[deliverable/binutils-gdb.git] / gdb / source.c
index f5cd2a37e4aa37e6bd753b746453158f6e021b2a..1bc98d376e55ce67b5d78c88b39b1960d16cbf2a 100644 (file)
@@ -1,5 +1,5 @@
 /* List lines of source files for GDB, the GNU debugger.
-   Copyright (C) 1986-2019 Free Software Foundation, Inc.
+   Copyright (C) 1986-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -1232,6 +1232,7 @@ print_source_lines_base (struct symtab *s, int line, int stopline,
 
   loc->set (s, line);
   first_line_listed = line;
+  last_line_listed = line;
 
   /* If printing of source lines is disabled, just print file and line
      number.  */
This page took 0.023652 seconds and 4 git commands to generate.