Fixed some spurious warnings in the non-debug build.
This commit is contained in:
parent
b555649589
commit
afc592c52c
1 changed files with 4 additions and 0 deletions
|
|
@ -122,7 +122,9 @@ void value_t::storage_t::destroy()
|
||||||
|
|
||||||
void value_t::initialize()
|
void value_t::initialize()
|
||||||
{
|
{
|
||||||
|
#if defined(DEBUG_ON)
|
||||||
LOGGER("value.initialize");
|
LOGGER("value.initialize");
|
||||||
|
#endif
|
||||||
|
|
||||||
true_value = new storage_t;
|
true_value = new storage_t;
|
||||||
true_value->type = BOOLEAN;
|
true_value->type = BOOLEAN;
|
||||||
|
|
@ -313,7 +315,9 @@ value_t::sequence_t value_t::to_sequence() const
|
||||||
|
|
||||||
void value_t::in_place_simplify()
|
void value_t::in_place_simplify()
|
||||||
{
|
{
|
||||||
|
#if defined(DEBUG_ON)
|
||||||
LOGGER("amounts.values.simplify");
|
LOGGER("amounts.values.simplify");
|
||||||
|
#endif
|
||||||
|
|
||||||
if (is_realzero()) {
|
if (is_realzero()) {
|
||||||
DEBUG_("Zeroing type " << static_cast<int>(type()));
|
DEBUG_("Zeroing type " << static_cast<int>(type()));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue