|
From: | David Binderman |
Subject: | PSPP-BUG: [bug #40375] pspp-0.8.1: 3 * bad if tests ? |
Date: | Fri, 25 Oct 2013 18:29:56 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 |
URL: <http://savannah.gnu.org/bugs/?40375> Summary: pspp-0.8.1: 3 * bad if tests ? Project: PSPP Submitted by: dcb314 Submitted on: Fri 25 Oct 2013 18:29:55 GMT Category: None Severity: 5 - Average Status: None Assigned to: None Open/Closed: Open Discussion Lock: Any Release: None Effort: 0.00 _______________________________________________________ Details: I just compiled pspp-0.8.1 with Linux gcc extra flag -Wlogical-op It said ./src/language/lexer/q2c.c:1732:2: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op] src/data/data-in.c:922:3: warning: logical 'or' of collectively exhaustive tests is always true [-Wlogical-op] src/language/stats/glm.c:270:4: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op] I've checked all three and they look like && || mixups to me Suggest code rework. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?40375> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |