compiler warnings in lwlock

Started by Jeff Janesabout 11 years ago2 messageshackers
Jump to latest
#1Jeff Janes
jeff.janes@gmail.com

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

Attachments:

silence_lwlock_lock_debug.patchapplication/octet-stream; name=silence_lwlock_lock_debug.patchDownload+8-8
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Jeff Janes (#1)
Re: compiler warnings in lwlock

Jeff Janes <jeff.janes@gmail.com> writes:

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

I believe this is the correct way to silence them.

Committed, thanks.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers