From 00883256dbd9b037fed2ba3294bcb94951934046 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 5 Jan 2014 13:04:05 +0100 Subject: [PATCH] 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 --- src/lib/commands/edit.c | 2 +- tests/actofgod-test | 2 +- tests/smoke-test | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/commands/edit.c b/src/lib/commands/edit.c index 49ccb380..41a450e7 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 66925084..0afe1bc4 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 e75fb390..9b3681fc 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