From: Maxim Maletsky Date: Mon, 27 Jan 2003 20:05:48 +0000 (+0000) Subject: This fixes "warning C4101: 'charsetid' : unreferenced local variable" on VC6 X-Git-Tag: PHP_5_0_dev_before_13561_fix~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4ec7372e951f11c1d5696605858e404434782a9;p=php This fixes "warning C4101: 'charsetid' : unreferenced local variable" on VC6 --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 76409d3cfc..03ea68e7e9 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -2152,7 +2152,9 @@ static oci_session *_oci_open_session(oci_server* server,char *username,char *pa oci_session *session = 0, *psession = 0; OCISvcCtx *svchp = 0; char *hashed_details; +#ifdef HAVE_OCI9 ub2 charsetid; +#endif TSRMLS_FETCH(); /*