From: Willy Tarreau Date: Thu, 29 Mar 2018 11:19:37 +0000 (+0200) Subject: BUILD/MINOR: cli: fix a build warning introduced by last commit X-Git-Tag: v1.9-dev1~339 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a833cd90b202557cbf6c863687732f3a6ae9da17;p=thirdparty%2Fhaproxy.git BUILD/MINOR: cli: fix a build warning introduced by last commit Commit 35b1b48 ("MINOR: cli: make "show fd" report the mux and mux_ctx pointers when available") introduced an accidental build warning due to a missing const statement. --- diff --git a/src/cli.c b/src/cli.c index c9f2067a71..b7d428d8a7 100644 --- a/src/cli.c +++ b/src/cli.c @@ -777,7 +777,7 @@ static int cli_io_handler_show_fd(struct appctx *appctx) struct listener *li = NULL; struct server *sv = NULL; struct proxy *px = NULL; - struct mux_ops *mux = NULL; + const struct mux_ops *mux = NULL; void *ctx = NULL; uint32_t conn_flags = 0;