aboutsummaryrefslogtreecommitdiff
path: root/libdecnumber/decContext.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-11-28 21:31:39 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2009-11-28 21:31:39 +0100
commit288d6a77c3fc3d7f2dcc879f10c460f95236688a (patch)
treedaec9a4fba9b659e48e680b286828e053c1f7f28 /libdecnumber/decContext.c
parent14ca4cf89cd87ce8c44f6baed00ca4258fe0c732 (diff)
downloadgcc-288d6a77c3fc3d7f2dcc879f10c460f95236688a.zip
gcc-288d6a77c3fc3d7f2dcc879f10c460f95236688a.tar.gz
gcc-288d6a77c3fc3d7f2dcc879f10c460f95236688a.tar.bz2
sarray.c (sarray_free): Use old_buckets variable.
* sarray.c (sarray_free): Use old_buckets variable. * encoding.c (objc_layout_structure_next_member): Remove unused bfld_type_size variable. * decContext.c (decContextTestEndian): Move adj definition into #if DECCHECK guarded code. From-SVN: r154730
Diffstat (limited to 'libdecnumber/decContext.c')
-rw-r--r--libdecnumber/decContext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdecnumber/decContext.c b/libdecnumber/decContext.c
index 1756dcb..aa81959 100644
--- a/libdecnumber/decContext.c
+++ b/libdecnumber/decContext.c
@@ -393,11 +393,11 @@ Int decContextTestEndian(Flag quiet) {
if (dle>1) dle=1; /* ensure 0 or 1 */
if (LITEND!=DECLITEND) {
- const char *adj;
if (!quiet) {
+#if DECCHECK
+ const char *adj;
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