From f44411bc0acedfdf5832c0e686057f62fb9be32a Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 25 Jan 2012 20:52:10 -0800 Subject: [PATCH] perl-module: Add "!= NULL" to assignment used as condition. Suppresses a "clang" warning. Reported-by: Jeremy Lavergne --- perl-module/PSPP.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-module/PSPP.xs b/perl-module/PSPP.xs index 77b7682b..d2b2c58c 100644 --- 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; -- 2.30.2