From c52620c249c47a7a916435647155abf4bbfd8018 Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Fri, 15 Feb 2019 20:19:00 +0100 Subject: version.c: silent scan-build even when librtmp is not enabled --- lib/version.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/version.c') diff --git a/lib/version.c b/lib/version.c index e553100c2..c1be9ab6d 100644 --- a/lib/version.c +++ b/lib/version.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2018, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2019, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -212,6 +212,10 @@ char *curl_version(void) } #endif + /* Silent scan-build even if librtmp is not enabled. */ + (void) left; + (void) ptr; + initialized = true; return version; } -- cgit v1.2.3