diff options
author | Nils Larsch <nils@openssl.org> | 2006-03-15 17:45:43 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2006-03-15 17:45:43 +0000 |
commit | 67b6f1ca889d789e04c58e5b2fbad0944bb1cd1a (patch) | |
tree | 9a367d762cfb0e55a2b8d224d8e7e1928089387c /crypto/dso | |
parent | a4ff392503fbc9ccd50fb425a69e50a64058314c (diff) |
fix problems found by coverity: remove useless code
Diffstat (limited to 'crypto/dso')
-rw-r--r-- | crypto/dso/dso_dlfcn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c index d0552c4621..c5edaec4a0 100644 --- a/crypto/dso/dso_dlfcn.c +++ b/crypto/dso/dso_dlfcn.c @@ -325,7 +325,7 @@ static char *dlfcn_merger(DSO *dso, const char *filespec1, { int spec2len, len; - spec2len = (filespec2 ? strlen(filespec2) : 0); + spec2len = strlen(filespec2); len = spec2len + (filespec1 ? strlen(filespec1) : 0); if(filespec2 && filespec2[spec2len - 1] == '/') |