[Commits] [wesnoth/wesnoth] 695026: Remove redundant include

GitHub noreply at github.com
Sun Apr 5 05:45:48 UTC 2015


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 695026c7e62067593493af2dff1dcd2ffc4f6a6d
      https://github.com/wesnoth/wesnoth/commit/695026c7e62067593493af2dff1dcd2ffc4f6a6d
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-05 (Sun, 05 Apr 2015)

  Changed paths:
    M src/tests/test_filesystem.cpp

  Log Message:
  -----------
  Remove redundant include


  Commit: db0a663858c8b24dea42ba85ed3e26fbda8a3da4
      https://github.com/wesnoth/wesnoth/commit/db0a663858c8b24dea42ba85ed3e26fbda8a3da4
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-05 (Sun, 05 Apr 2015)

  Changed paths:
    M src/serialization/preprocessor.cpp

  Log Message:
  -----------
  preproc: Fix garbage at the end of #warning/#error lines at EOF

Using #warning or #error at the very end of a file would generate a
trailing garbage character in diagnostics, apparently caused by
read_rest_of_line() checking for EOF before the stream can actually know
it's at EOF.

I'm not good at streams, but this fixes the bug for me with no
regressions, and the function in question is only used by the
code handling #warning/#error anyway.


  Commit: b46027acde021778e7809957cd8861fa5ed1826f
      https://github.com/wesnoth/wesnoth/commit/b46027acde021778e7809957cd8861fa5ed1826f
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-05 (Sun, 05 Apr 2015)

  Changed paths:
    M src/tests/test_filesystem.cpp

  Log Message:
  -----------
  Additional filesystem::get_wml_location() test cases


Compare: https://github.com/wesnoth/wesnoth/compare/86775d48ee45...b46027acde02


More information about the Commits mailing list