summaryrefslogtreecommitdiff
path: root/alpine/reply.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-05-08 21:01:02 -0600
committerEduardo Chappa <chappa@washington.edu>2021-05-08 21:01:02 -0600
commitb5eb45a153202d72aeb48de1149e7c74aef979fd (patch)
tree1fbc156a717e7963cd0c02fd7352bc801949c550 /alpine/reply.c
parent2f953255a8c494e3033015eb064c6ecace9ffeda (diff)
downloadalpine-b5eb45a153202d72aeb48de1149e7c74aef979fd.tar.xz
* Clear out some gcc warnings, and code improvement. Work in progress.HEADmaster
Diffstat (limited to 'alpine/reply.c')
-rw-r--r--alpine/reply.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/alpine/reply.c b/alpine/reply.c
index 35331f4..42f5131 100644
--- a/alpine/reply.c
+++ b/alpine/reply.c
@@ -101,7 +101,7 @@ reply(struct pine *pine_state, ACTION_S *role_arg)
{
ADDRESS *saved_from, *saved_to, *saved_cc, *saved_resent;
ADDRESS *us_in_to_and_cc, *ap;
- ENVELOPE *env, *outgoing;
+ ENVELOPE *env = NULL, *outgoing;
BODY *body, *orig_body = NULL;
REPLY_S reply;
void *msgtext = NULL;
@@ -1497,8 +1497,8 @@ forward(struct pine *ps, ACTION_S *role_arg)
{
char *sig;
int ret, forward_raw_body = 0, rv = 0, i;
- long msgno, j, totalmsgs, rflags;
- ENVELOPE *env, *outgoing;
+ long msgno = 0L, j, totalmsgs, rflags;
+ ENVELOPE *env = NULL, *outgoing;
BODY *orig_body, *body = NULL;
REPLY_S reply;
void *msgtext = NULL;