Re: Code inconsistency in convert.c for guid -> string conversion
В списке pgsql-odbc по дате отправления:
| От | Heikki Linnakangas |
|---|---|
| Тема | Re: Code inconsistency in convert.c for guid -> string conversion |
| Дата | |
| Msg-id | 5314DBB3.4030200@vmware.com обсуждение исходный текст |
| Ответ на | Code inconsistency in convert.c for guid -> string conversion (Michael Paquier <michael.paquier@gmail.com>) |
| Ответы |
Re: Code inconsistency in convert.c for guid -> string conversion
|
| Список | pgsql-odbc |
On 03/03/2014 04:38 AM, Michael Paquier wrote: > On another note, I found as well the following warning: > dlg_specific.c:1491: error: the address of 'conn_settings' will always > evaluate as 'true' Yeah, that has bothered me for a long time, but at a quick glance I haven't seen a very good way to fix it. Clearly the "conn_settings == NULL" test is unnecessary here, but the free() call that STR_TO_NAME also does is not, so we can't just replace the macro with an strcpy. Hmm, now that I look at it, we have a macro STRX_TO_NAME which is the same but without the NULL check. So we can just use that; that appears to be how it's used elsewhere too. So, fixed. - Heikki
В списке pgsql-odbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера