From e4ec7372e951f11c1d5696605858e404434782a9 Mon Sep 17 00:00:00 2001 From: Maxim Maletsky Date: Mon, 27 Jan 2003 20:05:48 +0000 Subject: [PATCH] This fixes "warning C4101: 'charsetid' : unreferenced local variable" on VC6 --- ext/oci8/oci8.c | 2 ++ 1 file changed, 2 insertions(+) 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(); /* -- 2.40.0