Fix for compiler warning in reloptions.c
От | Bruce Momjian |
---|---|
Тема | Fix for compiler warning in reloptions.c |
Дата | |
Msg-id | 200901060244.n062i9b24997@momjian.us обсуждение исходный текст |
Ответы |
Re: Fix for compiler warning in reloptions.c
|
Список | pgsql-hackers |
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. + Index: src/backend/access/common/reloptions.c =================================================================== RCS file: /cvsroot/pgsql/src/backend/access/common/reloptions.c,v retrieving revision 1.13 diff -c -c -r1.13 reloptions.c *** src/backend/access/common/reloptions.c 5 Jan 2009 17:14:28 -0000 1.13 --- src/backend/access/common/reloptions.c 6 Jan 2009 02:35:32 -0000 *************** *** 667,673 **** { char *value; int value_len; ! bool parsed; bool nofree = false; if (option->isset && validate) --- 667,673 ---- { char *value; int value_len; ! bool parsed = true; /* quiet compiler */ bool nofree = false; if (option->isset && validate)
В списке pgsql-hackers по дате отправления: