[ob] Remove a bogus lint placation
Daniel Jacobowitz
drow@false.org
Tue Oct 2 15:58:00 GMT 2007
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 */
}
}
More information about the Gdb-patches
mailing list