updated for version 7.0151
diff --git a/src/normal.c b/src/normal.c
index 84de270..1e645e4 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -4750,10 +4750,9 @@
 		    if (ptr == NULL)
 		    {
 			pos_T	pos = curwin->w_cursor;
-			int	attr;
 
 			/* Find bad word under the cursor. */
-			len = spell_move_to(curwin, FORWARD, TRUE, TRUE, &attr);
+			len = spell_move_to(curwin, FORWARD, TRUE, TRUE, NULL);
 			if (len != 0 && curwin->w_cursor.col <= pos.col)
 			    ptr = ml_get_pos(&curwin->w_cursor);
 			curwin->w_cursor = pos;