Opened 5 years ago
Closed 5 years ago
#19257 closed defect (fixed)
inconsistent comment vs code in function isNoNeedToCheck
Reported by: | gentoo_eshoes | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 6.1.2 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
seen at: https://github.com/mirror/vbox/blob/master/src/VBox/Frontends/VirtualBox/src/net/UIUpdateDefs.cpp#L87-L91 reproduced here:
bool VBoxUpdateData::isNoNeedToCheck() const { /* Return 'false' if Period == Never: */ return m_periodIndex == PeriodNever; }
Note:
See TracTickets
for help on using tickets.
I should've used a perma link: https://github.com/mirror/vbox/blob/b9657cd5351cf17432b664009cc25bb480dc64c1/src/VBox/Frontends/VirtualBox/src/net/UIUpdateDefs.cpp#L87-L91
To be clear, the code is correct, but the comment isn't.