Drop unused local variables (GH-17682)

This commit is contained in:
Christoph M. Becker
2025-02-03 16:42:29 +01:00
committed by GitHub
parent caf5e8a167
commit 3fa9e283a0
2 changed files with 1 additions and 3 deletions

View File

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

View File

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