diff libinterp/dldfcn/__ode15__.cc @ 24444:53ca76c5cc8d

maint: Indent pragmas as other preprocessor directives.
author John W. Eaton <jwe@octave.org>
date Thu, 21 Dec 2017 12:34:51 -0500
parents e8a74d95b4f3
children 194eb4bd202b
line wrap: on
line diff
--- a/libinterp/dldfcn/__ode15__.cc	Thu Dec 21 12:14:10 2017 -0500
+++ b/libinterp/dldfcn/__ode15__.cc	Thu Dec 21 12:34:51 2017 -0500
@@ -57,18 +57,18 @@
 nv_data_s (N_Vector& v)
 {
 #if defined (HAVE_PRAGMA_GCC_DIAGNOSTIC)
-// Disable warning from GCC about old-style casts in Sundials macro
-// expansions.  Do this in a function so that this diagnostic may still
-// be enabled for the rest of the file.
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wold-style-cast"
+   // Disable warning from GCC about old-style casts in Sundials
+   // macro expansions.  Do this in a function so that this
+   // diagnostic may still be enabled for the rest of the file.
+#  pragma GCC diagnostic push
+#  pragma GCC diagnostic ignored "-Wold-style-cast"
 #endif
 
   return NV_DATA_S (v);
 
 #if defined (HAVE_PRAGMA_GCC_DIAGNOSTIC)
-// Restore prevailing warning state for remainder of the file.
-#pragma GCC diagnostic pop
+   // Restore prevailing warning state for remainder of the file.
+#  pragma GCC diagnostic pop
 #endif
 }