in get_full_path(), remove unneeded assert
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3939 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
137694d15b
commit
6c3a399817
|
@ -2,6 +2,8 @@ CVS code -
|
||||||
- General:
|
- General:
|
||||||
- Miscellaneous comment fixes. (DLR)
|
- Miscellaneous comment fixes. (DLR)
|
||||||
- files.c:
|
- files.c:
|
||||||
|
get_full_path()
|
||||||
|
- Remove unneeded assert. (DLR)
|
||||||
do_writeout()
|
do_writeout()
|
||||||
- For consistency, when saving a file with no name, don't
|
- For consistency, when saving a file with no name, don't
|
||||||
allow overwriting an existing file when in restricted
|
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);
|
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
|
/* 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
|
* file that hasn't been saved to disk yet. Set path_only to TRUE
|
||||||
* if d_there refers to a directory, and FALSE otherwise. */
|
* if d_there refers to a directory, and FALSE otherwise. */
|
||||||
|
|
Loading…
Reference in New Issue