Skip to content
Snippets Groups Projects
Commit 7eb3eaf7 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Fixed some warnings.

Rev: src/modules/_PGsql/PGsql.cmod:1.22
parent 5ecf3bc6
No related branches found
No related tags found
No related merge requests found
/* -*- c -*- /* -*- c -*-
* $Id: PGsql.cmod,v 1.21 2008/08/09 16:20:56 srb Exp $ * $Id: PGsql.cmod,v 1.22 2008/08/12 15:18:55 mast Exp $
* *
* PGsql, accelerator functions for Sql.pgsql for Pike. * PGsql, accelerator functions for Sql.pgsql for Pike.
* *
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
DECLARATIONS DECLARATIONS
/*#define PGSQL_DEBUG /**/ /*#define PGSQL_DEBUG */
#ifdef PGSQL_DEBUG #ifdef PGSQL_DEBUG
#define PD(X) fprintf X #define PD(X) fprintf X
...@@ -230,7 +230,7 @@ bad: ...@@ -230,7 +230,7 @@ bad:
PIKEFUN void setportal(void|object portal) { PIKEFUN void setportal(void|object portal) {
if(THIS->portal) if(THIS->portal)
free_object(THIS->portal); free_object(THIS->portal);
if(THIS->portal=portal) { if((THIS->portal=portal)) {
debug_malloc_touch(THIS->portal); debug_malloc_touch(THIS->portal);
Pike_sp--; /* don't decrease references */ Pike_sp--; /* don't decrease references */
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment