From: David Wells Date: Sat, 3 Feb 2018 20:28:37 +0000 (-0500) Subject: Suppress warnings in bundled packages. X-Git-Tag: v9.0.0-rc1~475^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbbd05741b953db01e7ca6b0dbf7e82030b223c6;p=dealii.git Suppress warnings in bundled packages. --- diff --git a/bundled/tbb41_20130401oss/src/tbb/dynamic_link.cpp b/bundled/tbb41_20130401oss/src/tbb/dynamic_link.cpp index 32e9243922..fc53cb17f5 100644 --- a/bundled/tbb41_20130401oss/src/tbb/dynamic_link.cpp +++ b/bundled/tbb41_20130401oss/src/tbb/dynamic_link.cpp @@ -419,6 +419,7 @@ OPEN_INTERNAL_NAMESPACE #endif /* _WIN32 */ static dynamic_link_handle global_symbols_link( const char* library, const dynamic_link_descriptor descriptors[], size_t required ) { + (void)library; // Suppress an unused variable warning with clang #if _WIN32 dynamic_link_handle library_handle; if ( GetModuleHandleEx( 0, library, &library_handle ) ) { diff --git a/bundled/umfpack/UMFPACK/Source/umf_report_vector.cc b/bundled/umfpack/UMFPACK/Source/umf_report_vector.cc index 6d34e4512f..eccaada27d 100644 --- a/bundled/umfpack/UMFPACK/Source/umf_report_vector.cc +++ b/bundled/umfpack/UMFPACK/Source/umf_report_vector.cc @@ -23,6 +23,7 @@ PRIVATE void print_value ) { Entry xi ; + (void)Xz; /* Suppress an unused variable warning with clang */ /* if Xz is null, then X is in "merged" format (compatible with Entry, */ /* and ANSI C99 double _Complex type). */ PRINTF ((" " ID " :", INDEX (i))) ;