]> git.wh0rd.org Git - nano.git/commitdiff
in get_full_path(), remove unneeded assert
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 7 Nov 2006 21:41:05 +0000 (21:41 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 7 Nov 2006 21:41:05 +0000 (21:41 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3939 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/files.c

index c8a0bdb5bbc0f3c2c6274ace2f6df9942faf0863..f971bb156180a7a67c47d469e0ee046eda699c36 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 6878ace7d49d78987aa989eafbd6a0858b799bcb..2ae9d7d153b327d08ab5ac0621849379d0f618f7 100644 (file)
@@ -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. */