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

Warning in views.c

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Warning in views.c
Date: 2012-01-16 20:47:49
Message-ID: CABUevEzCDzNztyTjDACiYJrmEV0Y9xYFp4rbM7x2CCbuinvzhg@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
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?

-- 
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

Attachment: command_view_warning.patch
Description: text/x-patch (797 bytes)

Responses

pgsql-hackers by date

Next:From: Josh BerkusDate: 2012-01-16 20:48:41
Subject: Re: automating CF submissions (was xlog location arithmetic)
Previous:From: Dimitri FontaineDate: 2012-01-16 20:43:02
Subject: Re: SKIP LOCKED DATA

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