diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-11 07:20:49 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:42 -0400 |
commit | 48b46a23b183fc576f7e999a166d1e130233032c (patch) | |
tree | 5d3b645149d473a2638431450e73efcc0905e921 /src/utils.cc | |
parent | 8e20c378d6ee6eb36f8c6866f8c9ec52f8600c58 (diff) | |
download | ledger-48b46a23b183fc576f7e999a166d1e130233032c.tar.gz ledger-48b46a23b183fc576f7e999a166d1e130233032c.tar.bz2 ledger-48b46a23b183fc576f7e999a166d1e130233032c.zip |
Disabled compiler warnings from icc.
Diffstat (limited to 'src/utils.cc')
-rw-r--r-- | src/utils.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/utils.cc b/src/utils.cc index e4e0f2bc..bcbffdca 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -454,10 +454,8 @@ static inline void stream_memory_size(std::ostream& out, std::size_t size) out << (double(size) / 1024.0) << 'K'; else if (size < (1024 * 1024 * 1024)) out << (double(size) / (1024.0 * 1024.0)) << 'M'; - else if (size < (1024 * 1024 * 1024 * 1024)) - out << (double(size) / (1024.0 * 1024.0 * 1024.0)) << 'G'; else - assert(false); + out << (double(size) / (1024.0 * 1024.0 * 1024.0)) << 'G'; } static bool logger_has_run = false; |