mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Quiet compiler warnings, ignore the ones we can't.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/examples/Attic/testlibpq0.cc,v 1.1.1.1 1996/07/09 06:22:18 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/examples/Attic/testlibpq0.cc,v 1.2 1996/11/18 01:44:23 bryanh Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "libpq++.H"
|
||||
|
||||
int
|
||||
main(int argc, char** argv)
|
||||
main()
|
||||
{
|
||||
ExecStatusType status;
|
||||
PGenv env;
|
||||
@@ -41,7 +41,7 @@ main(int argc, char** argv)
|
||||
if((status = data->exec(buf)) == PGRES_TUPLES_OK)
|
||||
data->printtuples(stdout, 1, "|", 1, 0);
|
||||
else
|
||||
printf("status = %s\nerrorMessage = %s\n", status,
|
||||
printf("status = %d\nerrorMessage = %s\n", status,
|
||||
data->errormessage());
|
||||
else
|
||||
done = 1;
|
||||
|
||||
Reference in New Issue
Block a user