[DragonFlyBSD - Bug #3077] (Closed) sys/dev/sound/pci/hda/hdaa.c:3081: dead code ?
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Sat Oct 21 16:56:38 PDT 2017
Issue #3077 has been updated by dillon.
Status changed from New to Closed
Committed removal
-Matt
----------------------------------------
Bug #3077: sys/dev/sound/pci/hda/hdaa.c:3081: dead code ?
http://bugs.dragonflybsd.org/issues/3077#change-13280
* Author: dcb
* Status: Closed
* Priority: Low
* Assignee:
* Category:
* Target version:
----------------------------------------
dragonfly/sys/dev/sound/pci/hda/hdaa.c:3080] -> [dragonfly/sys/dev/sound/pci/hda/hdaa.c:3081]: (warning) Opposite inner 'if' condition leads to a dead code block.
Source code is
for (i = devinfo->startnode; cnt < max && i < devinfo->endnode; i++) {
if (cnt >= max) {
device_printf(devinfo->dev, "%s: Ctl overflow!\n",
__func__);
break;
}
Suggest remove dead code
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list