summaryrefslogtreecommitdiffstats
path: root/xpcom/io/nsLocalFileUnix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/io/nsLocalFileUnix.cpp')
-rw-r--r--xpcom/io/nsLocalFileUnix.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/xpcom/io/nsLocalFileUnix.cpp b/xpcom/io/nsLocalFileUnix.cpp
index c0b5c0f48..06706235d 100644
--- a/xpcom/io/nsLocalFileUnix.cpp
+++ b/xpcom/io/nsLocalFileUnix.cpp
@@ -1608,7 +1608,6 @@ nsLocalFile::IsExecutable(bool* aResult)
}
#endif
if (*aResult || errno == EACCES) {
- if (*aResult || errno == EACCES) {
return NS_OK;
}
return NSRESULT_FOR_ERRNO();