From: Markus Armbruster Date: Sun, 5 Jan 2014 12:04:05 +0000 (+0100) Subject: Trim trailing white space from source code X-Git-Tag: v4.3.33~309 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=00883256dbd9b037fed2ba3294bcb94951934046 Trim trailing white space from source code Normally, git's pre-commit hook protects us from them. However, when expected test output contains trailing white space, we have to bypass commit hooks. Unwanted space can then slip in if you don't pay attention. I obviously didn't; clean up. The previous commit should reduce the need for such hook suppression. Signed-off-by: Markus Armbruster --- diff --git a/src/lib/commands/edit.c b/src/lib/commands/edit.c index 49ccb3809..41a450e76 100644 --- a/src/lib/commands/edit.c +++ b/src/lib/commands/edit.c @@ -750,7 +750,7 @@ edit_unit(struct empobj *unit, char *key, char *p, coord newx, newy; union empobj_storage newunit; char newgroup; - + switch (toupper(*key)) { case 'U': if (arg < 0) diff --git a/tests/actofgod-test b/tests/actofgod-test index 669250846..0afe1bc49 100755 --- a/tests/actofgod-test +++ b/tests/actofgod-test @@ -11,7 +11,7 @@ srcdir="$1" # # Currently expected to work only with thread package LWP, because: -# +# # - Thread scheduling is reliably deterministic only with LWP # - Shell builtin kill appears not to do the job in MinGW # - The Windows server tries to run as service when -d isn't diff --git a/tests/smoke-test b/tests/smoke-test index e75fb3907..9b3681fcd 100755 --- a/tests/smoke-test +++ b/tests/smoke-test @@ -11,7 +11,7 @@ srcdir="$1" # # Currently expected to work only with thread package LWP, because: -# +# # - Thread scheduling is reliably deterministic only with LWP # - Shell builtin kill appears not to do the job in MinGW # - The Windows server tries to run as service when -d isn't