summaryrefslogtreecommitdiff
path: root/src/query.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-13 01:48:32 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-13 01:48:32 -0500
commit2986bc779e055fe8bd3511994c539d65d3a7aa57 (patch)
tree71a93ea1eaf17901ebf89fe0556e87ab7ec6db50 /src/query.cc
parentf50ea971ef12929d015657f22942b1cc0e328165 (diff)
downloadfork-ledger-2986bc779e055fe8bd3511994c539d65d3a7aa57.tar.gz
fork-ledger-2986bc779e055fe8bd3511994c539d65d3a7aa57.tar.bz2
fork-ledger-2986bc779e055fe8bd3511994c539d65d3a7aa57.zip
Stylistic change: assert(0) -> assert(false)
Diffstat (limited to 'src/query.cc')
-rw-r--r--src/query.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/query.cc b/src/query.cc
index de1c5631..21304f92 100644
--- a/src/query.cc
+++ b/src/query.cc
@@ -333,7 +333,7 @@ query_t::parser_t::parse_query_term(query_t::lexer_t::token_t::kind_t tok_contex
case lexer_t::token_t::TOK_NOTE:
ident->set_ident("note"); break;
default:
- assert(0); break;
+ assert(false); break;
}
expr_t::ptr_op_t mask = new expr_t::op_t(expr_t::op_t::VALUE);