Explorar o código

Remove dead code. (Coverity ID 2)

Ben Laurie %!s(int64=15) %!d(string=hai) anos
pai
achega
dde5b979d2
Modificáronse 1 ficheiros con 0 adicións e 7 borrados
  1. 0 7
      crypto/dso/dso_lib.c

+ 0 - 7
crypto/dso/dso_lib.c

@@ -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)