aboutsummaryrefslogtreecommitdiffstats
path: root/fastos
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-11-25 16:46:21 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-11-25 16:46:21 +0000
commitab84225b3ba1c8875e5d81b3ff7995a69e51c5ed (patch)
treeb01a59e42949b4d9dd366fd655f8084b410d949f /fastos
parent4e640edf7642cbc7bd2cc5d308b95cb14f8e236a (diff)
Use string::compare
Diffstat (limited to 'fastos')
-rw-r--r--fastos/src/vespa/fastos/unix_file.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/fastos/src/vespa/fastos/unix_file.cpp b/fastos/src/vespa/fastos/unix_file.cpp
index 0fee991cac4..8dd589d5144 100644
--- a/fastos/src/vespa/fastos/unix_file.cpp
+++ b/fastos/src/vespa/fastos/unix_file.cpp
@@ -387,7 +387,6 @@ bool
FastOS_UNIX_File::Delete(void)
{
assert( ! IsOpened());
- assert( ! _filename.empty());
return (unlink(_filename.c_str()) == 0);
}