Remove stray semicolon at global scope
authorPeter Eisentraut <[email protected]>
Thu, 11 Sep 2025 09:55:29 +0000 (11:55 +0200)
committerPeter Eisentraut <[email protected]>
Thu, 11 Sep 2025 10:04:36 +0000 (12:04 +0200)
The Sun Studio compiler complains about an empty declaration here.

Note for future historians:  This does not mean that this compiler is
still of current interest for anyone using PostgreSQL.  But we can let
this small fix be its parting gift.

Reviewed-by: Andres Freund <[email protected]>
Reviewed-by: Tom Lane <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/a0f817ee-fb86-483a-8a14-b6f7f5991b6e%40eisentraut.org

src/backend/replication/logical/slotsync.c

index 1a8cff9cf1f83f5cc623a411954522ff70642b74..051b1c866b584e831234a7b5cc569fb9a07a315d 100644 (file)
@@ -1319,7 +1319,7 @@ reset_syncing_flag()
    SpinLockRelease(&SlotSyncCtx->mutex);
 
    syncing_slots = false;
-};
+}
 
 /*
  * The main loop of our worker process.