diff options
author | Pepe Padial <jose.carlos.padial@gmail.com> | 2015-08-15 17:41:34 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-08-16 14:06:48 -0400 |
commit | 2bd3351c37bb916086f791b3f0e8bef960ce7b25 (patch) | |
tree | 5a5f0b8a459d11d8f6b7a53946c9256ba7e1d490 /src | |
parent | 4912dcf3c77856f1c0e466978f1638fb313a756a (diff) | |
download | rneovim-2bd3351c37bb916086f791b3f0e8bef960ce7b25.tar.gz rneovim-2bd3351c37bb916086f791b3f0e8bef960ce7b25.tar.bz2 rneovim-2bd3351c37bb916086f791b3f0e8bef960ce7b25.zip |
Remove unused assignement #3173
Based on this report
http://neovim.io/doc/reports/clang/report-808d3e.html#EndPath
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/fileio.c | 1 |
1 files changed, 0 insertions, 1 deletions
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(); |