diff options
author | Cobus Carstens <[email protected]> | 2014-03-05 15:30:48 +0200 |
---|---|---|
committer | Cobus Carstens <[email protected]> | 2014-03-05 15:30:48 +0200 |
commit | 75937381ec52e1714cfbc5936441b15bb1240bdb (patch) | |
tree | d7aa26cb5b69812877ad947f09166d8cad260179 /erts | |
parent | c199bd2923e7d733e60beb9bd27b3852cbb2e699 (diff) | |
download | otp-75937381ec52e1714cfbc5936441b15bb1240bdb.tar.gz otp-75937381ec52e1714cfbc5936441b15bb1240bdb.tar.bz2 otp-75937381ec52e1714cfbc5936441b15bb1240bdb.zip |
Fix comment that differs from code
The comment in the code state that the tree is traversed to the left,
when in fact it is traversed to the right.
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/erl_db_tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_db_tree.c b/erts/emulator/beam/erl_db_tree.c index 25029ba90f..a62a83a928 100644 --- a/erts/emulator/beam/erl_db_tree.c +++ b/erts/emulator/beam/erl_db_tree.c @@ -485,7 +485,7 @@ static int db_first_tree(Process *p, DbTable *tbl, Eterm *ret) *ret = am_EOT; return DB_ERROR_NONE; } - /* Walk down to the tree to the left */ + /* Walk down the tree to the left */ if ((stack = get_static_stack(tb)) != NULL) { stack->pos = stack->slot = 0; } @@ -531,7 +531,7 @@ static int db_last_tree(Process *p, DbTable *tbl, Eterm *ret) *ret = am_EOT; return DB_ERROR_NONE; } - /* Walk down to the tree to the left */ + /* Walk down the tree to the right */ if ((stack = get_static_stack(tb)) != NULL) { stack->pos = stack->slot = 0; } |