pgsql: Silence complaint about dead assignment - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Silence complaint about dead assignment
Date
Msg-id E1egL1y-00049l-IE@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Silence complaint about dead assignment

The preferred place for "placate compiler" assignments is after
elog(ERROR), not before it.  Otherwise, scan-build complains about a
dead assignment.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/07e524d3e955a79b94918d076642b3ac8e84b65f

Modified Files
--------------
src/backend/commands/tablecmds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: Initialize unused ExprEvalStep fields.
Next
From: Robert Haas
Date:
Subject: pgsql: Fix test case for 'outer pathkeys do not match mergeclauses'fix