Commit 5cf81b3c authored by Tom Lane's avatar Tom Lane

Silence compiler warning.

parent 06dde51e
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* 1998 Jan Wieck * 1998 Jan Wieck
* *
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.35 2000/12/03 20:45:36 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.36 2000/12/07 02:47:35 tgl Exp $
* *
* ---------- * ----------
*/ */
...@@ -3560,7 +3560,7 @@ exp_var(NumericVar *arg, NumericVar *result) ...@@ -3560,7 +3560,7 @@ exp_var(NumericVar *arg, NumericVar *result)
set_var_from_var(&const_one, &ifac); set_var_from_var(&const_one, &ifac);
set_var_from_var(&const_one, &ni); set_var_from_var(&const_one, &ni);
for (i = 2; TRUE; i++) for (i = 2; ; i++)
{ {
add_var(&ni, &const_one, &ni); add_var(&ni, &const_one, &ni);
mul_var(&xpow, &x, &xpow); mul_var(&xpow, &x, &xpow);
...@@ -3644,7 +3644,7 @@ ln_var(NumericVar *arg, NumericVar *result) ...@@ -3644,7 +3644,7 @@ ln_var(NumericVar *arg, NumericVar *result)
set_var_from_var(&const_one, &ni); set_var_from_var(&const_one, &ni);
for (i = 2; TRUE; i++) for (i = 2; ; i++)
{ {
add_var(&ni, &const_two, &ni); add_var(&ni, &const_two, &ni);
mul_var(&xx, &x, &xx); mul_var(&xx, &x, &xx);
......
...@@ -1199,7 +1199,8 @@ char* ReadStr(ArchiveHandle* AH) ...@@ -1199,7 +1199,8 @@ char* ReadStr(ArchiveHandle* AH)
return buf; return buf;
} }
int _discoverArchiveFormat(ArchiveHandle* AH) static int
_discoverArchiveFormat(ArchiveHandle* AH)
{ {
FILE *fh; FILE *fh;
char sig[6]; /* More than enough */ char sig[6]; /* More than enough */
......
...@@ -212,7 +212,6 @@ get_data(PGresult *results, int act_tuple, int act_field, int lineno, ...@@ -212,7 +212,6 @@ get_data(PGresult *results, int act_tuple, int act_field, int lineno,
{ {
ECPGraise(lineno, ECPG_FLOAT_FORMAT, pval); ECPGraise(lineno, ECPG_FLOAT_FORMAT, pval);
return (false); return (false);
dres = 0.0;
} }
} }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment