|
From e9261081d447492e7eff3a22601b1de4f1ae550f Mon Sep 17 00:00:00 2001
|
|
From: remi <remi@c90b9560-bf6c-de11-be94-00142212c4b1>
|
|
Date: Wed, 9 Oct 2013 12:15:51 +0000
|
|
Subject: [PATCH 02/16] fix [-Wunused-variable]
|
|
|
|
git-svn-id: http://svn.php.net/repository/pecl/dio/trunk@331749 c90b9560-bf6c-de11-be94-00142212c4b1
|
|
---
|
|
dio.c | 2 +-
|
|
dio_posix.c | 1 -
|
|
2 files changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
diff --git a/dio.c b/dio.c
|
|
index e400cf0..408a171 100644
|
|
--- a/dio.c
|
|
+++ b/dio.c
|
|
@@ -775,7 +775,7 @@ ZEND_BEGIN_ARG_INFO_EX(dio_serial_args, 0, 0, 2)
|
|
ZEND_ARG_INFO(0, options)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
-static zend_object_handlers dio_raw_object_handlers;
|
|
+// not used static zend_object_handlers dio_raw_object_handlers;
|
|
|
|
static zend_function_entry dio_functions[] = {
|
|
/* Class functions. */
|
|
diff --git a/dio_posix.c b/dio_posix.c
|
|
index 16fb3d6..01e1109 100644
|
|
--- a/dio_posix.c
|
|
+++ b/dio_posix.c
|
|
@@ -266,7 +266,6 @@ size_t dio_common_write(php_dio_stream_data *data, const char *buf, size_t count
|
|
* earlier than early time.
|
|
*/
|
|
static int dio_timeval_subtract(struct timeval *late, struct timeval *early, struct timeval *diff) {
|
|
- struct timeval *tmp;
|
|
|
|
/* Handle negatives */
|
|
if (late->tv_sec < early->tv_sec) {
|
|
--
|
|
2.5.0
|
|
|