Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl2/xcvs/dist/src delete the assert as we'll never...



details:   https://anonhg.NetBSD.org/src/rev/74966fd54612
branches:  trunk
changeset: 785729:74966fd54612
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 27 19:23:28 2013 +0000

description:
delete the assert as we'll never get there anyway.

diffstat:

 external/gpl2/xcvs/dist/src/lock.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r dec24ab3461c -r 74966fd54612 external/gpl2/xcvs/dist/src/lock.c
--- a/external/gpl2/xcvs/dist/src/lock.c        Wed Mar 27 18:15:13 2013 +0000
+++ b/external/gpl2/xcvs/dist/src/lock.c        Wed Mar 27 19:23:28 2013 +0000
@@ -233,7 +233,6 @@
        if (len == -1)
            error (1, 0, "%s not found in %s",
                repository, current_parsed_root->directory);
-       assert(len != -1);
        short_repos = repository + len + 1;
 
        if (strcmp (repository, current_parsed_root->directory) == 0)



Home | Main Index | Thread Index | Old Index