From: Ard Biesheuvel Date: Sun, 30 May 2004 20:24:46 +0000 (+0000) Subject: Fix Win32 build X-Git-Tag: php-5.0.0RC3RC2~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17da85ba9b0453e9569a432bebb5dd09f611bf1d;p=php Fix Win32 build Added missing 'break' --- diff --git a/ext/interbase/ibase_query.c b/ext/interbase/ibase_query.c index 911417210b..fad8461c2d 100644 --- a/ext/interbase/ibase_query.c +++ b/ext/interbase/ibase_query.c @@ -1001,8 +1001,8 @@ static int _php_ibase_exec(INTERNAL_FUNCTION_PARAMETERS, ibase_result **ib_resul /* this return value evaluates to bool(true) and to int(0) */ RETVAL_STRINGL("0 ",2,1); } + break; } - default: RETVAL_TRUE; } diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c index 509720c218..f62ce1e675 100644 --- a/ext/interbase/interbase.c +++ b/ext/interbase/interbase.c @@ -28,8 +28,6 @@ #include "php.h" -#define FILE_REVISION "$Revision$" - #if HAVE_IBASE #include "php_ini.h" @@ -424,6 +422,8 @@ static void _php_ibase_free_trans(zend_rsrc_list_entry *rsrc TSRMLS_DC) /* {{{ * /* TODO this function should be part of either Zend or PHP API */ static PHP_INI_DISP(php_ibase_password_displayer_cb) { + TSRMLS_FETCH(); + if ((type == PHP_INI_DISPLAY_ORIG && ini_entry->orig_value) || (type == PHP_INI_DISPLAY_ACTIVE && ini_entry->value)) { PUTS("********");