From 699ee1896fa316db2e80094a7406213af58a38db Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 18 Sep 2014 14:57:03 -0700 Subject: [PATCH] fix compile warnings. --- src/bitcoindjs.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bitcoindjs.cc b/src/bitcoindjs.cc index 00a97479..a1a8d645 100644 --- a/src/bitcoindjs.cc +++ b/src/bitcoindjs.cc @@ -153,6 +153,7 @@ start_node(void); static void start_node_thread(void); +#if OUTPUT_REDIR static void open_pipes(int **out_pipe, int **log_pipe); @@ -164,6 +165,7 @@ async_parse_logs(uv_work_t *req); static void async_parse_logs_after(uv_work_t *req); +#endif extern "C" void init(Handle); @@ -393,6 +395,7 @@ start_node_thread(void) { shutdownComplete = true; } +#if OUTPUT_REDIR /** * parse_logs(int **out_pipe, int **log_pipe) * Differentiate our logs and bitcoind's logs. @@ -544,6 +547,7 @@ async_parse_logs_after(uv_work_t *req) { delete log_data; delete req; } +#endif /** * StopBitcoind