mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Drop unused local variables (GH-17682)
This commit is contained in:
parent
caf5e8a167
commit
3fa9e283a0
2 changed files with 1 additions and 3 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue