mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Fix a few minor int pointer value initializations
This commit is contained in:
parent
3b0e8ee6f1
commit
103b381874
2 changed files with 4 additions and 4 deletions
|
@ -883,7 +883,7 @@ bool SwitchStmt::AddCaseLabelValueMapping(const Val* v, int idx)
|
|||
return false;
|
||||
|
||||
case_label_value_map[v] = idx;
|
||||
case_label_hash_map.Insert(hk.get(), new int(idx));
|
||||
case_label_hash_map.Insert(hk.get(), new int{idx});
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue