]> granicus.if.org Git - php/commitdiff
This fixes "warning C4101: 'charsetid' : unreferenced local variable" on VC6
authorMaxim Maletsky <maxim@php.net>
Mon, 27 Jan 2003 20:05:48 +0000 (20:05 +0000)
committerMaxim Maletsky <maxim@php.net>
Mon, 27 Jan 2003 20:05:48 +0000 (20:05 +0000)
ext/oci8/oci8.c

index 76409d3cfcc84ff8d83256773e659308bb42d0a2..03ea68e7e986481b28491fc500ceeb0b680c9eed 100644 (file)
@@ -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();
 
        /*