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

pgsql-server: Code cleanup: don't bother casting the argument to pfree()

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Code cleanup: don't bother casting the argument to pfree()
Date: 2004-09-27 04:01:23
Message-ID: 20040927040123.7FA7B329DB0@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Code cleanup: don't bother casting the argument to pfree() to void *
from another pointer type. Per C89, this is unnecessary, and it is common
practice throughout the rest of the tree anyway.

Modified Files:
--------------
    pgsql-server/src/backend/access/nbtree:
        nbtsort.c (r1.88 -> r1.89)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/access/nbtree/nbtsort.c.diff?r1=1.88&r2=1.89)
    pgsql-server/src/backend/commands:
        user.c (r1.145 -> r1.146)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/user.c.diff?r1=1.145&r2=1.146)

pgsql-committers by date

Next:From: Neil ConwayDate: 2004-09-27 04:12:03
Subject: pgsql-server: A few minor list-related cleanups: (1) Replace while loop
Previous:From: PostgreSQL DaemonDate: 2004-09-27 02:17:14
Subject: pgsql-server: update for beta3, and update Copyright date to 2004

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