]> git.pond.sub.org Git - empserver/commitdiff
Trim trailing white space from source code
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 5 Jan 2014 12:04:05 +0000 (13:04 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 6 Jan 2014 19:49:59 +0000 (20:49 +0100)
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 <armbru@pond.sub.org>
src/lib/commands/edit.c
tests/actofgod-test
tests/smoke-test

index 49ccb3809505c5d7528a7c7ffa89881d04b9a16f..41a450e76562ed7f8349171313b792761ea4ef5e 100644 (file)
@@ -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)
index 669250846943e22d7f5193968931bf674b1f2dee..0afe1bc496f581da2a119f2d840b95087adf880c 100755 (executable)
@@ -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
index e75fb3907997c8c4de127f142e23cc8406697deb..9b3681fcde19a826e648d72b1cbe7b024cc3a2b4 100755 (executable)
@@ -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