From 2a2150f4cd1bd6b10c1b327e6aa2704bb421f128 Mon Sep 17 00:00:00 2001
From: Matthias Andree <matthias.andree@gmx.de>
Date: Fri, 27 Aug 2021 19:23:21 +0200
Subject: etrn.c, odmr.c, pop2.c: declare NULL con-/destructors

---
 etrn.c | 2 ++
 odmr.c | 2 ++
 pop2.c | 4 +++-
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/etrn.c b/etrn.c
index ac416c86..294f42cc 100644
--- a/etrn.c
+++ b/etrn.c
@@ -143,6 +143,8 @@ static const struct method etrn =
     NULL,		/* no mailbox support */
     etrn_logout,	/* log out, we're done */
     FALSE,		/* no, we can't re-poll */
+    NULL,		/* no constructor */
+    NULL		/* no destructor */
 };
 
 int doETRN (struct query *ctl)
diff --git a/odmr.c b/odmr.c
index d495e9cd..8d3d9fd7 100644
--- a/odmr.c
+++ b/odmr.c
@@ -234,6 +234,8 @@ static const struct method odmr =
     NULL,		/* no mailbox support */
     odmr_logout,	/* log out, we're done */
     FALSE,		/* no, we can't re-poll */
+    NULL,		/* no constructor */
+    NULL		/* no destructor */
 };
 
 int doODMR (struct query *ctl)
diff --git a/pop2.c b/pop2.c
index 03d58a18..bae61c15 100644
--- a/pop2.c
+++ b/pop2.c
@@ -171,7 +171,9 @@ static const struct method pop2 =
     NULL,				/* how to mark a message as seen */
     NULL,				/* how to end mailbox processing */
     pop2_logout,			/* log out, we're done */
-    FALSE				/* no, we can't re-poll */
+    FALSE,				/* no, we can't re-poll */
+    NULL,				/* no constructor */
+    NULL				/* no destructor */
 };
 
 int doPOP2 (struct query *ctl)
-- 
cgit v1.2.3