mirror of
https://github.com/postgres/postgres.git
synced 2026-06-04 22:32:45 -04:00
Prevent possible compiler warnings.
Back-patch commit a3e8486dff into the 9.0
branch. This is the only warning I'm seeing in the live branches with
gcc 4.4.7 (other than the known "unused variable 'yyg'" flex lossage),
which makes it just annoying enough to want to clean up.
This commit is contained in:
parent
6d0b8cd2f3
commit
a74f50a3f6
1 changed files with 3 additions and 0 deletions
|
|
@ -609,6 +609,9 @@ pg_relation_filepath(PG_FUNCTION_ARGS)
|
|||
default:
|
||||
/* no storage, return NULL */
|
||||
rnode.relNode = InvalidOid;
|
||||
/* some compilers generate warnings without these next two lines */
|
||||
rnode.dbNode = InvalidOid;
|
||||
rnode.spcNode = InvalidOid;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue