Skip site navigation (1) Skip section navigation (2)

Re: Warning in views.c

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Warning in views.c
Date: 2012-01-19 20:43:18
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Mon, Jan 16, 2012 at 3:47 PM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> Seem 1575fbcb caused this warning:
> view.c: In function ‘DefineVirtualRelation’:
> view.c:105:6: warning: variable ‘namespaceId’ set but not used
> [-Wunused-but-set-variable]
> Attached seems to be the easy fix - or am I missing something obvious?

No, I think you nailed it.  There is some more refactoring that should
be done there, I think, but until it is, we don't need that return
value for anything...

Thanks for fixing it.

Robert Haas
The Enterprise PostgreSQL Company

In response to

pgsql-hackers by date

Next:From: Robert HaasDate: 2012-01-19 20:44:30
Subject: Re: controlling the location of server-side SSL files
Previous:From: Dimitri FontaineDate: 2012-01-19 20:42:54
Subject: Re: Inline Extension

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group