aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db_tree.c
diff options
context:
space:
mode:
authorGuilherme Andrade <[email protected]>2017-03-23 00:32:44 +0000
committerGuilherme Andrade <[email protected]>2017-03-23 00:40:48 +0000
commit4dd2ccbdf374b4ce631d4d796bb690a55149e160 (patch)
tree7e3880dc5c2ff9e420697fea505734e7f99101eb /erts/emulator/beam/erl_db_tree.c
parent25648cad32b782cff5b513cb1e1a72d2f9f4ada7 (diff)
downloadotp-4dd2ccbdf374b4ce631d4d796bb690a55149e160.tar.gz
otp-4dd2ccbdf374b4ce631d4d796bb690a55149e160.tar.bz2
otp-4dd2ccbdf374b4ce631d4d796bb690a55149e160.zip
Remove redundant variable initializations
Diffstat (limited to 'erts/emulator/beam/erl_db_tree.c')
-rw-r--r--erts/emulator/beam/erl_db_tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_db_tree.c b/erts/emulator/beam/erl_db_tree.c
index 6334723d39..ab8da6ccf6 100644
--- a/erts/emulator/beam/erl_db_tree.c
+++ b/erts/emulator/beam/erl_db_tree.c
@@ -2236,9 +2236,9 @@ static int analyze_pattern(DbTableTree *tb, Eterm pattern,
i = 0;
for(lst = pattern; is_list(lst); lst = CDR(list_val(lst))) {
- Eterm match = NIL;
- Eterm guard = NIL;
- Eterm body = NIL;
+ Eterm match;
+ Eterm guard;
+ Eterm body;
ttpl = CAR(list_val(lst));
if (!is_tuple(ttpl)) {