Remove dead code. (Coverity ID 2)
authorBen Laurie <ben@openssl.org>
Sat, 27 Dec 2008 02:36:24 +0000 (02:36 +0000)
committerBen Laurie <ben@openssl.org>
Sat, 27 Dec 2008 02:36:24 +0000 (02:36 +0000)
crypto/dso/dso_lib.c

index 75ac66707da412e1284ebf669c549fc48319bea1..8a15b794abef2b2d5c97040e6c49c19638a8fb82 100644 (file)
@@ -399,13 +399,6 @@ char *DSO_merge(DSO *dso, const char *filespec1, const char *filespec2)
                DSOerr(DSO_F_DSO_MERGE,ERR_R_PASSED_NULL_PARAMETER);
                return(NULL);
                }
-       if(filespec1 == NULL)
-               filespec1 = dso->filename;
-       if(filespec1 == NULL)
-               {
-               DSOerr(DSO_F_DSO_MERGE,DSO_R_NO_FILE_SPECIFICATION);
-               return(NULL);
-               }
        if((dso->flags & DSO_FLAG_NO_NAME_TRANSLATION) == 0)
                {
                if(dso->merger != NULL)