GNOME Bugzilla – Bug 780306
Unused function in gunicollate.c for CARBON
Last modified: 2017-03-22 03:56:17 UTC
Building glib-2.52.0 on OS X 10.11: gunicollate.c:174:1: warning: unused function 'utf8_encode' [-Wunused-function] utf8_encode (char *buf, wchar_t val) ^ 1 warning generated. That function is used by some implementations of g_utf8_collate_key, but not for the carbon (OS X) implementation. There is already platform-specific #ifdef control for utf8_encode, just need to update it to omit carbon.
Created attachment 348320 [details] [review] Fix #if controls to sync with those of g_utf8_collate_key
My review didn’t get published for some reason, but the patch was a-c-n. Thanks.