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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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; shm_pair *shm;
char shm_segment[sizeof(SEGMENT_PREFIX INT_MIN_AS_STRING)]; char shm_segment[sizeof(SEGMENT_PREFIX INT_MIN_AS_STRING)];
HANDLE shm_handle = NULL, info_handle = NULL; HANDLE shm_handle = NULL;
BOOL created = FALSE; BOOL created = FALSE;
if (key != IPC_PRIVATE) { if (key != IPC_PRIVATE) {

View file

@ -195,8 +195,6 @@ PHPAPI int TSendMail(const char *host, int *error, char **error_message,
} }
if (headers) { if (headers) {
char *pos = NULL;
/* Use PCRE to trim the header into the right format */ /* Use PCRE to trim the header into the right format */
if (NULL == (headers_trim = php_win32_mail_trim_header(headers))) { if (NULL == (headers_trim = php_win32_mail_trim_header(headers))) {
*error = W32_SM_PCRE_ERROR; *error = W32_SM_PCRE_ERROR;