From 585239afeaafd61380b55e7040f1227fd07fdb4e Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Thu, 14 Jul 2011 13:35:09 -0700 Subject: [PATCH] filepath: remove asserts These were included as a safety check and haven't been triggered, so there's no point slowing anything down with them. Signed-off-by: Greg Farnum --- src/include/filepath.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/include/filepath.h b/src/include/filepath.h index 3907dda83e126..f26235e280e66 100644 --- a/src/include/filepath.h +++ b/src/include/filepath.h @@ -62,8 +62,6 @@ class filepath { // skip empty components unless they were introduced deliberately // see commit message for more detail bits.push_back( path.substr(off,nextslash-off) ); - assert(encoded || bits.back().size()); - assert(encoded || bits.back().compare("/")); } off = nextslash+1; } -- 2.39.5