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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
patchfile_clang text/plain 2.2 KB

Responses

Browse pgsql-hackers by date

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