compiler warnings in lwlock

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: compiler warnings in lwlock
Date: 2015-03-26 05:52:12
Message-ID: CAMkU=1wFsFhXkesz4h3D7vWGTHLxyBvszPB7w-Lbxh7DbmvMSA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When building with LOCK_DEBUG but without casserts, I was getting unused
variable warnings.

I believe this is the correct way to silence them.

Cheers,

Jeff

Attachment Content-Type Size
silence_lwlock_lock_debug.patch application/octet-stream 2.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vladimir Borodin 2015-03-26 07:19:07 Re: pg_rewind in contrib
Previous Message Pavel Stehule 2015-03-26 05:46:24 Re: proposal: plpgsql - Assert statement