|
From: | David Binderman |
Subject: | [bug-mdk] [bug #40359] mdk-1.2.7/mixlib/xmix_vm.c:442: possible bad if test ? |
Date: | Thu, 24 Oct 2013 08:38:03 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 |
URL: <http://savannah.gnu.org/bugs/?40359> Summary: mdk-1.2.7/mixlib/xmix_vm.c:442: possible bad if test ? Project: GNU MIX Development Kit Submitted by: dcb314 Submitted on: Thu 24 Oct 2013 08:38:02 GMT Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Source code is g_assert (ins->opcode >= mix_opJAx || ins->opcode <= mix_opJXx); Suggest swap || for && gcc compiler flag -Wlogical-op said xmix_vm.c:442:3: warning: logical 'or' of collectively exhaustive tests is always true [-Wlogical-op] _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?40359> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |