Skip to content

Commit 160fa51

Browse files
committed
ais.h: Fix readability-redundant-member-init for AisMsg() constructor
1 parent 24397f8 commit 160fa51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libais/ais.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ class AisMsg {
448448
size_t num_bits; // Number of bits in the nmea_payload.
449449
AisBitset bits; // The bitset that was constructed out of the nmea_payload.
450450

451-
AisMsg() : status(AIS_UNINITIALIZED), num_chars(0), num_bits(0), bits() {}
451+
AisMsg() : status(AIS_UNINITIALIZED), num_chars(0), num_bits(0) {}
452452
AisMsg(const char *nmea_payload, size_t pad);
453453

454454
// Returns true if the msg is in a good state "so far", i.e. either AIS_OK or

0 commit comments

Comments
 (0)