Skip to content

Commit 1bfe608

Browse files
remove unused code (#5839)
1 parent a3c76b1 commit 1bfe608

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

thirdparty/php/streams/plain_wrapper.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ static php_stream_size_t sw_php_stdiop_write(php_stream *stream, const char *buf
328328
}
329329
bytes_written = _write(data->fd, buf, (unsigned int)count);
330330
#else
331-
php_stdio_stream_data *self = (php_stdio_stream_data *) stream->abstract;
332331
ssize_t bytes_written = write(data->fd, buf, count);
333332
#endif
334333
if (bytes_written < 0) {
@@ -391,7 +390,6 @@ static php_stream_size_t sw_php_stdiop_read(php_stream *stream, char *buf, size_
391390
}
392391
}
393392
#endif
394-
php_stdio_stream_data *self = (php_stdio_stream_data *) stream->abstract;
395393
ret = read(data->fd, buf, PLAIN_WRAP_BUF_SIZE(count));
396394

397395
if (ret == (ssize_t) -1 && errno == EINTR) {

0 commit comments

Comments
 (0)