Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes committed Sep 19, 2014
1 parent 7d40cc2 commit b71db8e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pconnect-sapi.c
Expand Up @@ -112,8 +112,6 @@ static sapi_module_struct pconn_module = {

int pconn_init_php()
{
size_t ini_entries_len;

#ifdef ZTS
void ***tsrm_ls;
tsrm_startup(1, 1, 0, NULL);
Expand All @@ -123,7 +121,6 @@ int pconn_init_php()
sapi_startup(&pconn_module);
pconn_module.phpinfo_as_text = 1;

ini_entries_len = sizeof(HARDCODED_INI)-2;
pconn_module.ini_entries = malloc(sizeof(HARDCODED_INI));
memcpy(pconn_module.ini_entries, HARDCODED_INI, sizeof(HARDCODED_INI));

Expand Down

0 comments on commit b71db8e

Please sign in to comment.