From: Andre Noll Date: Sat, 29 Aug 2015 10:35:42 +0000 (+0200) Subject: attribute.c: Remove pointless condition in attribute_open(). X-Git-Tag: v0.5.6~104 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=72f619fd387991489fe47af8f00f21172e1f9939;p=paraslash.git attribute.c: Remove pointless condition in attribute_open(). ret is known to be negative at this point. --- diff --git a/attribute.c b/attribute.c index a28c92e9..d74ec928 100644 --- 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; }