You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
953 B

  1. From 6cbc1651b6b6f865f9aae1e9adff73743298666f Mon Sep 17 00:00:00 2001
  2. From: remi <remi@c90b9560-bf6c-de11-be94-00142212c4b1>
  3. Date: Wed, 9 Oct 2013 12:18:34 +0000
  4. Subject: [PATCH 03/16] Fix [-Wmaybe-uninitialized]
  5. git-svn-id: http://svn.php.net/repository/pecl/dio/trunk@331750 c90b9560-bf6c-de11-be94-00142212c4b1
  6. ---
  7. dio_stream_wrappers.c | 6 ++----
  8. 1 file changed, 2 insertions(+), 4 deletions(-)
  9. diff --git a/dio_stream_wrappers.c b/dio_stream_wrappers.c
  10. index 844b006..811bc07 100644
  11. --- a/dio_stream_wrappers.c
  12. +++ b/dio_stream_wrappers.c
  13. @@ -228,9 +228,8 @@ PHP_FUNCTION(dio_raw) {
  14. efree(data);
  15. RETURN_FALSE;
  16. }
  17. + php_stream_to_zval(stream, return_value);
  18. }
  19. -
  20. - php_stream_to_zval(stream, return_value);
  21. }
  22. /* }}} */
  23. @@ -390,9 +389,8 @@ PHP_FUNCTION(dio_serial) {
  24. efree(data);
  25. RETURN_FALSE;
  26. }
  27. + php_stream_to_zval(stream, return_value);
  28. }
  29. -
  30. - php_stream_to_zval(stream, return_value);
  31. }
  32. /* }}} */
  33. --
  34. 2.5.0