pgsql: Don't use the result of strcmp as if it were a boolean.

Lists: pgsql-committers
From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't use the result of strcmp as if it were a boolean.
Date: 2009-04-23 17:39:21
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-committers

Log Message:
-----------
Don't use the result of strcmp as if it were a boolean.
A service of your local coding style police.

Modified Files:
--------------
pgsql/src/backend/commands:
dbcommands.c (r1.221 -> r1.222)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c?r1=1.221&r2=1.222)