Skip site navigation (1) Skip section navigation (2)

Patches for static check on geo_ops.c

From: Paul Matthews <plm(at)netspace(dot)net(dot)au>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Patches for static check on geo_ops.c
Date: 2009-08-27 09:46:29
Message-ID: 4A9655F5.2080303@netspace.net.au (view raw or flat)
Thread:
Lists: pgsql-hackers
Grzegorz Jaskiewicz wonderful static checker coughed up 5 errors in
geo_ops.c.  None of them of any particular excitement or of earth
shattering nature. A patch is attached below that should correct these.
(The more little issue we eliminate, the more the large ones will stand
out.)

At line 3131 value stored into 'dist' variable is never referenced again.
At line 3014 value stored into 'dist' variable is never referenced again.
At line 2942 value stored into 'd' variable is never referenced again.
At line 2953 value stored into 'd' variable is never referenced again.
At line 2993 value stored into 'd' variable is never referenced again.



Attachment: patchfile_clang
Description: text/plain (2.2 KB)

Responses

pgsql-hackers by date

Next:From: Jean-Michel PouréDate: 2009-08-27 10:00:01
Subject: Re: MySQL Compatibility WAS: postgresql.conf settings autoconfiguration
Previous:From: Boszormenyi ZoltanDate: 2009-08-27 09:34:29
Subject: Build system problem in 8.3.x

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group