Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita74f50a

Browse files
committed
Prevent possible compiler warnings.
Back-patch commita3e8486 into the 9.0branch. This is the only warning I'm seeing in the live branches withgcc 4.4.7 (other than the known "unused variable 'yyg'" flex lossage),which makes it just annoying enough to want to clean up.
1 parent6d0b8cd commita74f50a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/backend/utils/adt/dbsize.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,9 @@ pg_relation_filepath(PG_FUNCTION_ARGS)
609609
default:
610610
/* no storage, return NULL */
611611
rnode.relNode=InvalidOid;
612+
/* some compilers generate warnings without these next two lines */
613+
rnode.dbNode=InvalidOid;
614+
rnode.spcNode=InvalidOid;
612615
break;
613616
}
614617

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp