Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZOOKEEPER-3078: remove print_completion_queue
The fprintf(LOGSTREAM, ...) calls cause compiler errors when building with GCC 8: "error: null argument where non-null required". This is because since ZOOKEEPER-1400 (2013-05-19 commit 37973fa: Allow logging via callback instead of raw FILE pointer) LOGSTREAM is defined as NULL. However, the last use of print_completion_queue was removed 2008-01-10 in commit ffc4b0d (Changed zoo_get() signature, changed the watcher callback signature, fixed zookeeper_close() resource leaks and race conditions, fixed the race condition causing xid mismatch). So we can avoid the compiler errors by just removing print_completion_queue. Signed-off-by: Kent R. Spillner <kspillneracm.org> Author: Kent R. Spillner <[email protected]> Reviewers: Norbert Kalmar <[email protected]>, Andor Molnár <[email protected]>, Benjamin Reed <[email protected]> Closes #558 from sl4mmy/zookeeper-3078
- Loading branch information