summaryrefslogtreecommitdiff
path: root/ext/oci8/oci8.c
diff options
context:
space:
mode:
authorMaxim Maletsky <maxim@php.net>2003-01-27 20:05:48 +0000
committerMaxim Maletsky <maxim@php.net>2003-01-27 20:05:48 +0000
commite4ec7372e951f11c1d5696605858e404434782a9 (patch)
tree210e754bdd377a5e818c1e5ab22b96ffe6cbb932 /ext/oci8/oci8.c
parent897a708c8794cad00d7b82aaa403808cc5173f1f (diff)
downloadphp-git-e4ec7372e951f11c1d5696605858e404434782a9.tar.gz
This fixes "warning C4101: 'charsetid' : unreferenced local variable" on VC6
Diffstat (limited to 'ext/oci8/oci8.c')
-rw-r--r--ext/oci8/oci8.c2
1 files changed, 2 insertions, 0 deletions
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();
/*