projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23f9ab5
)
perl-module: Add "!= NULL" to assignment used as condition.
author
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 26 Jan 2012 04:52:10 +0000
(20:52 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 26 Jan 2012 05:08:37 +0000
(21:08 -0800)
Suppresses a "clang" warning.
Reported-by: Jeremy Lavergne <jeremy@lavergne.gotdns.org>
perl-module/PSPP.xs
patch
|
blob
|
history
diff --git
a/perl-module/PSPP.xs
b/perl-module/PSPP.xs
index 77b7682b3e29c96178034a60797887c78c2dd208..d2b2c58c4c91396ca158d4840e796e468c9635d1 100644
(file)
--- a/
perl-module/PSPP.xs
+++ b/
perl-module/PSPP.xs
@@
-749,7
+749,7
@@
get_next_case (sfr)
PPCODE:
struct ccase *c;
- if (
c = casereader_read (sfr->reader)
)
+ if (
(c = casereader_read (sfr->reader)) != NULL
)
{
int v;