bison warning fixes
[deliverable/binutils-gdb.git] / libdecnumber / decContext.c
index 1756dcb2522f10ed9efe468a4a0e8f7f8c84509e..d0e2e2876d60c1c1c0430d5f0f24600ff48514ac 100644 (file)
@@ -1,5 +1,5 @@
 /* Decimal context module for the decNumber C Library.
 /* Decimal context module for the decNumber C Library.
-   Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
@@ -393,11 +393,11 @@ Int decContextTestEndian(Flag quiet) {
   if (dle>1) dle=1;          /* ensure 0 or 1 */
 
   if (LITEND!=DECLITEND) {
   if (dle>1) dle=1;          /* ensure 0 or 1 */
 
   if (LITEND!=DECLITEND) {
-    const char *adj;
     if (!quiet) {
     if (!quiet) {
+#if DECCHECK
+      const char *adj;
       if (LITEND) adj="little";
             else adj="big";
       if (LITEND) adj="little";
             else adj="big";
-#if DECCHECK
       printf("Warning: DECLITEND is set to %d, but this computer appears to be %s-endian\n",
             DECLITEND, adj);
 #endif
       printf("Warning: DECLITEND is set to %d, but this computer appears to be %s-endian\n",
             DECLITEND, adj);
 #endif
This page took 0.024862 seconds and 4 git commands to generate.