Commit 6c3a3998 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

in get_full_path(), remove unneeded assert

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3939 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 137694d1
Showing with 2 additions and 2 deletions
+2 -2
......@@ -2,6 +2,8 @@ CVS code -
- General:
- Miscellaneous comment fixes. (DLR)
- files.c:
get_full_path()
- Remove unneeded assert. (DLR)
do_writeout()
- For consistency, when saving a file with no name, don't
allow overwriting an existing file when in restricted
......
......@@ -954,8 +954,6 @@ char *get_full_path(const char *origpath)
d_there = real_dir_from_tilde(origpath);
assert(d_there != NULL);
/* If stat()ing d_there fails, assume that d_there refers to a new
* file that hasn't been saved to disk yet. Set path_only to TRUE
* if d_there refers to a directory, and FALSE otherwise. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment