1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

Remove duplicate variable initializations identified by clang static checker.

One of these represents a nontrivial bug (a promptly-leaked palloc), so
backpatch.

Greg Stark
This commit is contained in:
Tom Lane
2009-08-30 16:53:31 +00:00
parent e710b65c1c
commit dd6de24e69
3 changed files with 5 additions and 6 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/encode.c,v 1.24 2009/08/04 16:08:36 tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/encode.c,v 1.25 2009/08/30 16:53:31 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -159,7 +159,7 @@ hex_decode(const char *src, unsigned len, char *dst)
*srcend;
char v1,
v2,
*p = dst;
*p;
srcend = src + len;
s = src;