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

Commit7874bc4

Browse files
japinliOleg Gurev
authored and
Oleg Gurev
committed
Fix warning about mixed declarations and code
1 parent0148fa8 commit7874bc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backup.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,12 +505,12 @@ do_backup_pg(InstanceState *instanceState, PGconn *backup_conn,
505505
/* copy pg_control at very end */
506506
if (backup_isok)
507507
{
508+
charfrom_fullpath[MAXPGPATH];
509+
charto_fullpath[MAXPGPATH];
508510

509511
elog(progress ?INFO :LOG,"Progress: Backup file \"%s\"",
510512
src_pg_control_file->rel_path);
511513

512-
charfrom_fullpath[MAXPGPATH];
513-
charto_fullpath[MAXPGPATH];
514514
join_path_components(from_fullpath,instance_config.pgdata,src_pg_control_file->rel_path);
515515
join_path_components(to_fullpath,current.database_dir,src_pg_control_file->rel_path);
516516

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp