mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Remove unused assignement #3173
Based on this report http://neovim.io/doc/reports/clang/report-808d3e.html#EndPath
This commit is contained in:
parent
4912dcf3c7
commit
2bd3351c37
@ -418,7 +418,6 @@ readfile (
|
|||||||
* If the name is too long we might crash further on, quit here.
|
* If the name is too long we might crash further on, quit here.
|
||||||
*/
|
*/
|
||||||
if (fname != NULL && *fname != NUL) {
|
if (fname != NULL && *fname != NUL) {
|
||||||
p = fname + STRLEN(fname);
|
|
||||||
if (STRLEN(fname) >= MAXPATHL) {
|
if (STRLEN(fname) >= MAXPATHL) {
|
||||||
filemess(curbuf, fname, (char_u *)_("Illegal file name"), 0);
|
filemess(curbuf, fname, (char_u *)_("Illegal file name"), 0);
|
||||||
msg_end();
|
msg_end();
|
||||||
|
Loading…
Reference in New Issue
Block a user