get rid of warning.

This commit is contained in:
Christopher Jeffrey 2014-08-29 14:16:30 -07:00
parent 50e04c215e
commit 4523d857c1

View File

@ -284,6 +284,8 @@ const char bitcoind_char[256] = {
static unsigned int static unsigned int
parse_logs(char **log_str) { parse_logs(char **log_str) {
goto disabled;
int pfd[2]; int pfd[2];
pipe(pfd); pipe(pfd);
unsigned int read_fd = pfd[0]; unsigned int read_fd = pfd[0];
@ -377,6 +379,9 @@ parse_logs(char **log_str) {
} }
return read_log; return read_log;
disabled:
return 0;
} }
/** /**