remove unused and null init a pointer

SVN revision: 50604
This commit is contained in:
Mike Blumenkrantz 2010-07-28 18:27:47 +00:00
parent 0bbca7c75d
commit 6a8c01999f
1 changed files with 2 additions and 4 deletions

View File

@ -711,10 +711,8 @@ _ecore_con_ssl_server_init_openssl(Ecore_Con_Server *svr)
static Eina_Bool
_ecore_con_ssl_server_cert_add_openssl(const char *cert_file)
{
FILE *fp;
X509 *cert;
const X509 *tmp2;
FILE *fp = NULL;
X509 *cert = NULL;
if (!(fp = fopen(certificate_file, "r")))
goto on_error;