andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone

Blame SOURCES/0004-Issue-5505-Fix-compiler-warning-5506.patch

63fe67
From 7f0d007f3d15dec801acdaf3794f4e37db9c9875 Mon Sep 17 00:00:00 2001
63fe67
From: James Chapman <jachapma@redhat.com>
63fe67
Date: Wed, 9 Nov 2022 09:49:47 +0000
63fe67
Subject: [PATCH 1/2] Issue 5505 - Fix compiler warning (#5506)
63fe67
63fe67
relates: https://github.com/389ds/389-ds-base/issues/5505
63fe67
63fe67
Reviewed by: @Firstyear  (Thanks)
63fe67
---
63fe67
 ldap/servers/plugins/retrocl/retrocl_trim.c | 2 +-
63fe67
 1 file changed, 1 insertion(+), 1 deletion(-)
63fe67
63fe67
diff --git a/ldap/servers/plugins/retrocl/retrocl_trim.c b/ldap/servers/plugins/retrocl/retrocl_trim.c
63fe67
index 37e5fbea7..d6b24c8bf 100644
63fe67
--- a/ldap/servers/plugins/retrocl/retrocl_trim.c
63fe67
+++ b/ldap/servers/plugins/retrocl/retrocl_trim.c
63fe67
@@ -23,7 +23,7 @@ typedef struct _trim_status
63fe67
     int ts_s_trimming;       /* non-zero if trimming in progress */
63fe67
     PRLock *ts_s_trim_mutex; /* protects ts_s_trimming */
63fe67
 } trim_status;
63fe67
-static trim_status ts = {0L, 0L, 0, 0, NULL};
63fe67
+static trim_status ts = {0};
63fe67
 
63fe67
 /*
63fe67
  * All standard changeLogEntry attributes (initialized in get_cleattrs)
63fe67
-- 
63fe67
2.38.1
63fe67