From 0d0644dce82a87ef4b670fb60709ef1fd6a3030c Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 19 Feb 2016 23:07:46 -0500 Subject: ecpg: Fix typo GCC 6 points out the redundant conditions, which were apparently typos. Reviewed-by: Thomas Munro --- src/interfaces/ecpg/test/expected/sql-describe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interfaces/ecpg/test/expected/sql-describe.c') diff --git a/src/interfaces/ecpg/test/expected/sql-describe.c b/src/interfaces/ecpg/test/expected/sql-describe.c index 356f5870e8c..d0e39e93565 100644 --- a/src/interfaces/ecpg/test/expected/sql-describe.c +++ b/src/interfaces/ecpg/test/expected/sql-describe.c @@ -360,7 +360,7 @@ if (sqlca.sqlcode < 0) exit (1);} #line 151 "describe.pgc" - if (sqlda1 == NULL || sqlda1 == NULL || sqlda2 == NULL) + if (sqlda1 == NULL || sqlda2 == NULL || sqlda3 == NULL) exit(1); strcpy(msg, "get descriptor"); -- cgit v1.2.3