This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ob] Remove a bogus lint placation
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Tue, 2 Oct 2007 11:58:40 -0400
- Subject: [ob] Remove a bogus lint placation
This caused a -Werror failure on Windows, because none of the terminal
control methods are available - so result is uninitialized. I've
removed it, since we aren't keeping lint markers up to date anyway.
--
Daniel Jacobowitz
CodeSourcery
2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
* inflow.c (terminal_ours_1): Remove useless line.
Index: inflow.c
===================================================================
RCS file: /cvs/src/src/gdb/inflow.c,v
retrieving revision 1.35
diff -u -p -r1.35 inflow.c
--- inflow.c 23 Aug 2007 18:08:35 -0000 1.35
+++ inflow.c 2 Oct 2007 15:56:26 -0000
@@ -408,8 +408,6 @@ terminal_ours_1 (int output_only)
result = fcntl (0, F_SETFL, tflags_ours);
result = fcntl (0, F_SETFL, tflags_ours);
#endif
-
- result = result; /* lint */
}
}