diff src/message_test.c @ 11309:b254fd46ef62 v8.0.0540

patch 8.0.0540: building unit tests fails commit https://github.com/vim/vim/commit/a604429529ce3d3c97309c7cf6bba8b699f6bfb5 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 2 18:19:53 2017 +0200 patch 8.0.0540: building unit tests fails Problem: Building unit tests fails. Solution: Move params outside of #ifdef.
author Christian Brabandt <cb@256bit.org>
date Sun, 02 Apr 2017 18:30:05 +0200
parents 4aead6a9b7a9
children 80b40bd5ec1a
line wrap: on
line diff
--- a/src/message_test.c
+++ b/src/message_test.c
@@ -96,8 +96,6 @@ test_trunc_string(void)
     int
 main(int argc, char **argv)
 {
-    mparm_T params;
-
     vim_memset(&params, 0, sizeof(params));
     params.argc = argc;
     params.argv = argv;