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

Reply via email to