From: Rusty Russell Date: Tue, 27 Mar 2012 03:45:18 +0000 (+1030) Subject: tools: fix bogus unreachable return. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=add10b0b9d13d9437682268badfab029ed36c244 tools: fix bogus unreachable return. --- diff --git a/tools/tools.c b/tools/tools.c index c8697320..1eddf7e9 100644 --- a/tools/tools.c +++ b/tools/tools.c @@ -92,7 +92,6 @@ char *run_with_timeout(const void *ctx, const char *cmd, close_noerr(p[1]); return talloc_asprintf(ctx, "Failed to fork: %s", strerror(errno)); - return NULL; } if (pid == 0) {