prewarm compiler warnings - Mailing list pgsql-hackers

From Erik Rijkers
Subject prewarm compiler warnings
Date
Msg-id df0dcca2025b3d90d946ecc508ca9678@xs4all.nl
Whole thread Raw
Responses Re: prewarm compiler warnings
List pgsql-hackers
gcc-6.3.0 complains about this:

autoprewarm.c: In function ‘autoprewarm_main’:
autoprewarm.c:210:9: warning: variable ‘rc’ set but not used 
[-Wunused-but-set-variable]
    int   rc;

The warning comes only in master.

The warnings are a bit annoying; the attached silences them by removing 
those assignments.

Thanks,

Erik Rijkers



Attachment

pgsql-hackers by date:

Previous
From: Euler Taveira
Date:
Subject: Re: row filtering for logical replication
Next
From: "REIX, Tony"
Date:
Subject: RE: Shared Memory: How to use SYSV rather than MMAP ?