style(undo): remove unnecessary comment

This commit is contained in:
Thomas Vigouroux
2021-07-06 19:52:26 +02:00
parent e5804d46fd
commit f8ed13c0dc

View File

@@ -350,7 +350,6 @@ int u_savecommon(buf_T *buf,
// warning for a read-only file before making the change, so that the
// FileChangedRO event can replace the buffer with a read-write version
// (e.g., obtained from a source control system).
// TODO(vigoux): change_warning is tricky because of curbuf_lock...
if (buf == curbuf) {
change_warning(buf, 0);
}