From 2bd3351c37bb916086f791b3f0e8bef960ce7b25 Mon Sep 17 00:00:00 2001 From: Pepe Padial Date: Sat, 15 Aug 2015 17:41:34 +0200 Subject: Remove unused assignement #3173 Based on this report http://neovim.io/doc/reports/clang/report-808d3e.html#EndPath --- src/nvim/fileio.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/nvim/fileio.c') diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index 58e4873e00..c9e11d8fb5 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -418,7 +418,6 @@ readfile ( * If the name is too long we might crash further on, quit here. */ if (fname != NULL && *fname != NUL) { - p = fname + STRLEN(fname); if (STRLEN(fname) >= MAXPATHL) { filemess(curbuf, fname, (char_u *)_("Illegal file name"), 0); msg_end(); -- cgit