diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-28 20:31:39 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-28 20:31:39 +0000 |
commit | f80617042e9bdbdd520ba7dad7e5fbb4c2cc90e4 (patch) | |
tree | daec9a4fba9b659e48e680b286828e053c1f7f28 /libdecnumber | |
parent | 309d3774a58d99d70fc723a3432336907a689f7f (diff) | |
download | gcc-f80617042e9bdbdd520ba7dad7e5fbb4c2cc90e4.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154730 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libdecnumber')
-rw-r--r-- | libdecnumber/ChangeLog | 5 | ||||
-rw-r--r-- | libdecnumber/decContext.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libdecnumber/ChangeLog b/libdecnumber/ChangeLog index b64e561a0cc..88df3a4d84b 100644 --- a/libdecnumber/ChangeLog +++ b/libdecnumber/ChangeLog @@ -1,3 +1,8 @@ +2009-11-28 Jakub Jelinek <jakub@redhat.com> + + * decContext.c (decContextTestEndian): Move adj definition into + #if DECCHECK guarded code. + 2009-09-09 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. diff --git a/libdecnumber/decContext.c b/libdecnumber/decContext.c index 1756dcb2522..aa8195928e4 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 |