]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Suppress warnings in bundled packages. 5853/head
authorDavid Wells <wellsd2@rpi.edu>
Sat, 3 Feb 2018 20:28:37 +0000 (15:28 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 3 Feb 2018 21:18:12 +0000 (16:18 -0500)
bundled/tbb41_20130401oss/src/tbb/dynamic_link.cpp
bundled/umfpack/UMFPACK/Source/umf_report_vector.cc

index 32e9243922473f701d1f0ce92b71ef8e45771d0c..fc53cb17f5993bad5efa9eb7fccb32d943a1a93c 100644 (file)
@@ -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 ) ) {
index 6d34e4512f7bcd2d6c4d9f7db03dfd2c3052405a..eccaada27d65a1ba3da809694cacddf83d1d0467 100644 (file)
@@ -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))) ;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.