mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
Merge remote-tracking branch 'origin/topic/timw/coverity-fixes'
* origin/topic/timw/coverity-fixes: Fix a number of Coverity findings
This commit is contained in:
commit
6a5b51eba8
6 changed files with 24 additions and 8 deletions
|
@ -64,9 +64,9 @@ public:
|
|||
}
|
||||
|
||||
// Create a stub instruction that will be populated later.
|
||||
ZInst() { }
|
||||
ZInst() = default;
|
||||
|
||||
virtual ~ZInst() { }
|
||||
virtual ~ZInst() = default;
|
||||
|
||||
// Methods for printing out the instruction for debugging/maintenance.
|
||||
void Dump(bro_uint_t inst_num, const FrameReMap* mappings) const;
|
||||
|
@ -93,8 +93,8 @@ public:
|
|||
// Returns a string describing the constant.
|
||||
std::string ConstDump() const;
|
||||
|
||||
ZOp op;
|
||||
ZAMOpType op_type;
|
||||
ZOp op = OP_NOP;
|
||||
ZAMOpType op_type = OP_X;
|
||||
|
||||
// Usually indices into frame, though sometimes hold integer constants.
|
||||
// When an instruction has both frame slots and integer constants,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue