Fix for compiler warning in reloptions.c
The attached applied patch prevents a compiler warning; the compiler
doesn't know about our elog(ERROR) exit case.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
Attachments:
/rtmp/difftext/x-diffDownload+2-2
Bruce Momjian wrote:
The attached applied patch prevents a compiler warning; the compiler
doesn't know about our elog(ERROR) exit case.
Hmm, I don't like your fix; ISTM it would be better to set the variable
only in the default: case (or maybe change the "break" for a "return").
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
Alvaro Herrera wrote:
Bruce Momjian wrote:
The attached applied patch prevents a compiler warning; the compiler
doesn't know about our elog(ERROR) exit case.Hmm, I don't like your fix; ISTM it would be better to set the variable
only in the default: case (or maybe change the "break" for a "return").
Agreed, I used the 'default' idea, attached, applied.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +