From 9925b3a0477e5af348a8348544e69a65a9222c1b Mon Sep 17 00:00:00 2001 From: Anton Ovchinnikov Date: Mon, 9 Mar 2015 00:40:50 +0100 Subject: Remove redundant casts --- src/nvim/if_cscope.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/if_cscope.c') diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c index 09f4ecf519..df61afa398 100644 --- a/src/nvim/if_cscope.c +++ b/src/nvim/if_cscope.c @@ -772,7 +772,7 @@ err_closing: #endif /* expand the cscope exec for env var's */ prog = xmalloc(MAXPATHL + 1); - expand_env((char_u *)p_csprg, (char_u *)prog, MAXPATHL); + expand_env(p_csprg, (char_u *)prog, MAXPATHL); /* alloc space to hold the cscope command */ len = (int)(strlen(prog) + strlen(csinfo[i].fname) + 32); -- cgit