Skip to content

Commit 3fa9e28

Browse files
authoredFeb 3, 2025
Drop unused local variables (GH-17682)
1 parent caf5e8a commit 3fa9e28

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed
 

‎TSRM/tsrm_win32.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ TSRM_API int shmget(key_t key, size_t size, int flags)
636636
{/*{{{*/
637637
shm_pair *shm;
638638
char shm_segment[sizeof(SEGMENT_PREFIX INT_MIN_AS_STRING)];
639-
HANDLE shm_handle = NULL, info_handle = NULL;
639+
HANDLE shm_handle = NULL;
640640
BOOL created = FALSE;
641641

642642
if (key != IPC_PRIVATE) {

‎win32/sendmail.c

-2
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,6 @@ PHPAPI int TSendMail(const char *host, int *error, char **error_message,
195195
}
196196

197197
if (headers) {
198-
char *pos = NULL;
199-
200198
/* Use PCRE to trim the header into the right format */
201199
if (NULL == (headers_trim = php_win32_mail_trim_header(headers))) {
202200
*error = W32_SM_PCRE_ERROR;

0 commit comments

Comments
 (0)
Failed to load comments.