Silence compiler warnings

Joe Conway <mail@joeconway.com>

Commit: cbc62b22952006324199979396d229ce82f6a0d7
Author: Joe Conway <mail@joeconway.com>
Date: 2017-01-02T22:42:44Z
Releases: 9.5.6
Silence compiler warnings

Rearrange a bit of code to ensure that 'mode' in LWLockRelease is
obviously always set, which seems a bit cleaner and avoids a compiler
warning (thanks to Robert for the suggestion!).

Back-patch back to 9.5 where the warning is first seen.

Author: Stephen Frost
Discussion: https://postgr.es/m/20161129152102.GR13284%40tamriel.snowman.net

Files

PathChange+/−
src/backend/storage/lmgr/lwlock.c modified +4 −5

Discussion