Re: cleanup: remove MemSet() casts

From: Neil Conway <neilc(at)samurai(dot)com>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: cleanup: remove MemSet() casts
Date: 2005-05-10 06:49:28
Message-ID: 42805978.8060802@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Neil Conway wrote:
> I also noticed a bit of unclear / inconsistent code in MemSet() itself:
> it's not obvious whether unary * or postfix ++ has higher precedence
> (the latter does), so I added some parentheses to make this clear.

Okay, apparently I'm the only person who doesn't like code like this :)
Attached is a revised patch that doesn't make this change.

-Neil

Attachment Content-Type Size
memset_char_ptr_cast_cleanup-3.patch text/x-patch 10.3 KB

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Heikki Linnakangas 2005-05-10 20:29:22 Re: [PATCHES] Cleaning up unreferenced table files
Previous Message Neil Conway 2005-05-10 06:14:16 cleanup: remove MemSet() casts