mcv compiler warning - Mailing list pgsql-hackers

From Jeff Janes
Subject mcv compiler warning
Date
Msg-id CAMkU=1zc_ovH9NZd_9ovuiEWkF9yX06URUDdXCmgDydf-bqB5A@mail.gmail.com
Whole thread Raw
Responses Re: mcv compiler warning  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List pgsql-hackers
One of the recent mcv commits introduced an unused variable warning.

mcv.c: In function 'statext_mcv_serialize':
mcv.c:914:7: warning: unused variable 'itemlen' [-Wunused-variable]
   int   itemlen = ITEM_SIZE(dim);

The attached fixes it.

Cheers,

Jeff
Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: POC: Cleaning up orphaned files using undo logs
Next
From: Tomas Vondra
Date:
Subject: Re: Why vacuum_index_cleanup is needed for TOAST relations?