summaryrefslogtreecommitdiff
path: root/alpine/setup.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-05-15 13:38:10 -0600
committerEduardo Chappa <chappa@washington.edu>2021-05-15 13:38:10 -0600
commit7b4a6b7942db179bd4b152a3f3495f480d84db5d (patch)
tree90217bbac6199c2ee439c646e604931284500aaf /alpine/setup.c
parentb5eb45a153202d72aeb48de1149e7c74aef979fd (diff)
downloadalpine-7b4a6b7942db179bd4b152a3f3495f480d84db5d.tar.xz
* Clear out some gcc warnings, and code improvement. Work in progress.
Diffstat (limited to 'alpine/setup.c')
-rw-r--r--alpine/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/alpine/setup.c b/alpine/setup.c
index 75e2fc3b..513353ce 100644
--- a/alpine/setup.c
+++ b/alpine/setup.c
@@ -61,10 +61,10 @@ int to_charsets_text_tool(struct pine *, int, CONF_S **, unsigned);
void
option_screen(struct pine *ps, int edit_exceptions)
{
- char tmp[MAXPATH+1], *pval, **lval;
+ char tmp[MAXPATH+1], *pval = NULL, **lval = NULL;
int i, j, ln = 0, readonly_warning = 0, pos;
struct variable *vtmp;
- CONF_S *ctmpa = NULL, *ctmpb, *first_line = NULL;
+ CONF_S *ctmpa = NULL, *ctmpb = NULL, *first_line = NULL;
FEATURE_S *feature;
PINERC_S *prc = NULL;
SAVED_CONFIG_S *vsave;