]> granicus.if.org Git - php/commitdiff
void some warnings
authorSascha Schumann <sas@php.net>
Sat, 17 Jul 1999 12:56:38 +0000 (12:56 +0000)
committerSascha Schumann <sas@php.net>
Sat, 17 Jul 1999 12:56:38 +0000 (12:56 +0000)
ext/pgsql/pgsql.c

index 894a63b69ac17d7bbc032c44c6121c0c1a61640d..2e4412c3fd3056303cae82cc6da94a80f06c1c7b 100644 (file)
@@ -865,7 +865,7 @@ PHP_FUNCTION(pgsql_result)
 
 static void php3_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type)
 {
-       pval *result, *row, *pval_ptr, *arg3;
+       pval *result, *row, *arg3;
        PGresult *pgsql_result;
        pgsql_result_handle *pg_result;
        int type;
@@ -1455,7 +1455,7 @@ PHP_FUNCTION(pgsql_lo_readall)
        tbytes = 0;
        while ((nbytes = lo_read((PGconn *)pgsql->conn, pgsql->lofd, buf, 8192))>0) {
                for(i=0; i<nbytes; i++) {
-                       if (output) PUTC(buf[i]);
+                       if (output) { (void) PUTC(buf[i]); }
                }
                tbytes += i;
        }