git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: fbcf2cf) | patch
Tweak a couple of macros in the regex code to suppress compiler warnings
Mon, 2 Aug 2010 02:29:39 +0000 (02:29 +0000)
Mon, 2 Aug 2010 02:29:39 +0000 (02:29 +0000)
commit e621037eec4a1c9ec2d7056c9c1c11b9b03932cb
Tweak a couple of macros in the regex code to suppress compiler warnings
from "clang". The VERR changes make an assignment unconditional, which is
probably easier to read/understand anyway, and one can hardly argue that
it's worth shaving cycles off the case of reporting another error when
one has already been detected. The INSIST change limits where that macro
can be used, but not in a way that creates a problem for any existing call.
src/backend/regex/regcomp.c diff | blob | blame | history
src/backend/regex/regexec.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /