Skip to content

Commit 188e359

Browse files
committed
Remove memset from transaction_clear
1 parent debaa09 commit 188e359

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

contrib/pg_dtm/dtmd/src/transaction.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#include <assert.h>
22
#include <stdlib.h>
3-
#include <string.h>
43

54
#include "util.h"
65
#include "transaction.h"
@@ -27,7 +26,6 @@ int transaction_status(Transaction *t) {
2726
void transaction_clear(Transaction *t) {
2827
int i;
2928

30-
memset(t, 0, sizeof(*t));
3129
t->xid = INVALID_XID;
3230
t->size = 0;
3331
t->votes_for = 0;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy