andykimpe / rpms / 389-ds-base

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