fix compiler warnings and auto-formatting #598
No reviewers
Labels
No Label
API Change
Breaking API Change
bug
build
cosmetics
Documentation
duplicate
feature
help wanted
hotfix
invalid
question
Refactor
Tests
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: fsfw/fsfw#598
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "eive/fsfw:mueller/compiler-warning-fixes-upstream-2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
nullptr
dereferences found when building in release mode@ -11,3 +11,3 @@
HybridIterator(typename LinkedElement<T>::Iterator *iter)
: LinkedElement<T>::Iterator(*iter), value(iter->value), linked(true) {}
: LinkedElement<T>::Iterator(*iter), value(iter->value), linked(true) {
value is set here before the new check.
Hmm, I guess I forgot to completely recompile everything..
@ -31,3 +31,3 @@
}
if (iter.value == NULL) {
if (iter.value ==nullptr) {
looks like clang format is not apllied.
See comments for requested changes.
fix compiler warningsto fix compiler warnings and auto-formattingLGTM