diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c index 1fe2a47a87c24..4c8fc9d19aa9a 100644 --- a/TSRM/tsrm_win32.c +++ b/TSRM/tsrm_win32.c @@ -636,7 +636,7 @@ TSRM_API int shmget(key_t key, size_t size, int flags) {/*{{{*/ shm_pair *shm; char shm_segment[sizeof(SEGMENT_PREFIX INT_MIN_AS_STRING)]; - HANDLE shm_handle = NULL, info_handle = NULL; + HANDLE shm_handle = NULL; BOOL created = FALSE; if (key != IPC_PRIVATE) { diff --git a/win32/sendmail.c b/win32/sendmail.c index c5215bf35c6f8..3ee74707fd6c3 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -195,8 +195,6 @@ PHPAPI int TSendMail(const char *host, int *error, char **error_message, } if (headers) { - char *pos = NULL; - /* Use PCRE to trim the header into the right format */ if (NULL == (headers_trim = php_win32_mail_trim_header(headers))) { *error = W32_SM_PCRE_ERROR;