Skip to content

Commit 76a4631

Browse files
IgnoreWarningsn-eiling
authored andcommitted
chore: add default initializer
Signed-off-by: Pascal Bauer <[email protected]>
1 parent a4a5a5d commit 76a4631

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fpga/include/villas/fpga/ips/intc.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ class InterruptController : public Core {
5454
};
5555

5656
std::vector<kernel::vfio::Device::IrqVectorInfo> irq_vectors;
57-
int nos[maxIrqs];
58-
bool polling[maxIrqs];
57+
int nos[maxIrqs] = {-1};
58+
bool polling[maxIrqs] = {false};
5959
};
6060

6161
} // namespace ip

0 commit comments

Comments
 (0)