projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
attribute.c: Remove pointless condition in attribute_open().
[paraslash.git]
/
attribute.c
diff --git
a/attribute.c
b/attribute.c
index a28c92e9c133d80accd97cd884a3d267da63b034..d74ec92839c2c3753ebadf1caf2a06d2f109645e 100644
(file)
--- a/
attribute.c
+++ b/
attribute.c
@@
-531,7
+531,7
@@
static int attribute_open(const char *dir)
return ret;
}
attribute_table = NULL;
- if (ret
>= 0 || ret
== -OSL_ERRNO_TO_PARA_ERROR(E_OSL_NOENT))
+ if (ret == -OSL_ERRNO_TO_PARA_ERROR(E_OSL_NOENT))
return 1;
return ret;
}