patch 8.0.0461: test 45 hangs on MS-Windows

Problem:    Test 45 hangs on MS-Windows.
Solution:   Reset 'shiftwidth'.  Also remove redundent function.
diff --git a/src/testdir/test45.in b/src/testdir/test45.in
index 751e137..c6d7c50 100644
--- a/src/testdir/test45.in
+++ b/src/testdir/test45.in
@@ -27,6 +27,7 @@
 /^2 b
 i  jI    :call append("$", "indent " . foldlevel("."))
 k:call append("$", foldlevel("."))
+:set sw&
 :" test syntax folding
 :set fdm=syntax fdl=0
 :syn region Hup start="dd" end="ii" fold contains=Fd1,Fd2,Fd3