Clean up trivial compiler warning from gcc.

This commit is contained in:
Tom Lane 1999-01-17 21:53:32 +00:00
parent d1a391c332
commit 52065cf347

View File

@ -3,7 +3,7 @@
* procedural language * procedural language
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.4 1998/10/04 15:38:57 momjian Exp $ * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.5 1999/01/17 21:53:32 tgl Exp $
* *
* This software is copyrighted by Jan Wieck - Hamburg. * This software is copyrighted by Jan Wieck - Hamburg.
* *
@ -1243,9 +1243,9 @@ exec_stmt_fori(PLpgSQL_execstate * estate, PLpgSQL_stmt_fori * stmt)
* ---------- * ----------
*/ */
if (stmt->reverse) if (stmt->reverse)
(int4)var->value--; var->value--;
else else
(int4)var->value++; var->value++;
} }
return PLPGSQL_RC_OK; return PLPGSQL_RC_OK;