]> granicus.if.org Git - curl/commitdiff
version.c: silent scan-build even when librtmp is not enabled
authorPatrick Monnerat <patrick@monnerat.net>
Fri, 15 Feb 2019 19:19:00 +0000 (20:19 +0100)
committerPatrick Monnerat <patrick@monnerat.net>
Sat, 16 Feb 2019 00:04:22 +0000 (01:04 +0100)
lib/version.c

index e553100c21813bcf9de3a6972a4f6c15499c87d4..c1be9ab6db354cc3afc3f92b22e336318aa332c9 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, 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;
 }