From: Patrick Monnerat Date: Fri, 15 Feb 2019 19:19:00 +0000 (+0100) Subject: version.c: silent scan-build even when librtmp is not enabled X-Git-Tag: curl-7_64_1~121 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c52620c249c47a7a916435647155abf4bbfd8018;p=thirdparty%2Fcurl.git version.c: silent scan-build even when librtmp is not enabled --- diff --git a/lib/version.c b/lib/version.c index e553100c21..c1be9ab6db 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; }