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

Re: fix for strict-alias warnings

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fix for strict-alias warnings
Date: 2003-10-14 14:56:09
Message-ID: 3F8C0E89.2070200@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Andrew Dunstan wrote:

>
> there were 3 calls to MemSet it complained about - all in 
> src/backend/storage/lmgr/proc.c, and all zeroing out the timeval 
> structure. (is MemSet actually a gain in this instance?) 


And looking at it even closer, 2 of the 3 cases of calling MemSet appear 
to be unnecessary, as the zeroed out values are immediately overwritten.

cheers

andrew




In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2003-10-14 15:00:51
Subject: Re: CREATE USER bug
Previous:From: Andrew DunstanDate: 2003-10-14 14:31:02
Subject: Re: fix for strict-alias warnings

pgsql-patches by date

Next:From: Tom LaneDate: 2003-10-14 15:17:44
Subject: Re: [Fwd: Make psql use all pretty print options]
Previous:From: Andrew DunstanDate: 2003-10-14 14:31:02
Subject: Re: fix for strict-alias warnings

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