Thread: pgsql-server/src/bin/pg_id pg_id.c

pgsql-server/src/bin/pg_id pg_id.c

From
momjian@svr1.postgresql.org (Bruce Momjian)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    momjian@svr1.postgresql.org    03/08/08 22:25:46

Modified files:
    src/bin/pg_id  : pg_id.c

Log message:
    I get the following warning when I compile src/bin/pg_id/pg_id.c:

    gcc -pipe -g -Wall -Wmissing-prototypes -Wmissing-declarations
    -I../../../src/include   -c -o pg_id.o pg_id.c -MMD
    pg_id.c: In function `main':
    pg_id.c:35: warning: unused variable `optarg'

    The attached trivial patch fixes the warning by removing the variable.

    Neil Conway