do not show geos notice messages

master
Oliver Tonnhofer 2013-06-05 12:21:55 +02:00
parent eb72ab9c0f
commit 469b585217
1 changed files with 5 additions and 2 deletions

View File

@ -20,12 +20,15 @@ void debug_wrap(const char *fmt, ...) {
goLogString((char *)&buf);
}
void devnull(const char *fmt, ...) {
}
GEOSContextHandle_t initGEOS_r_debug() {
return initGEOS_r(debug_wrap, debug_wrap);
return initGEOS_r(devnull, debug_wrap);
}
void initGEOS_debug() {
return initGEOS(debug_wrap, debug_wrap);
return initGEOS(devnull, debug_wrap);
}
// wrap goIndexSendQueryResult