From 75dcf093940c04a6c685dba35a278e35da018727 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Wed, 15 Jun 2016 21:04:51 +0100 Subject: [PATCH] NULL a couple of variables --- frontends/amiga/filetype.c | 2 +- frontends/amiga/gui.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontends/amiga/filetype.c b/frontends/amiga/filetype.c index 05f130e66..61e4929c5 100644 --- a/frontends/amiga/filetype.c +++ b/frontends/amiga/filetype.c @@ -352,7 +352,7 @@ static APTR ami_mime_guess_add_datatype(struct DataType *dt, lwc_string **lwc_mi { struct nsObject *node; char mimetype[100]; - char *dt_name_lwr; + char *dt_name_lwr = NULL; struct ami_mime_entry *mimeentry; lwc_error lerror; struct DataTypeHeader *dth = dt->dtn_Header; diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c index afb49a574..ac173eb1e 100644 --- a/frontends/amiga/gui.c +++ b/frontends/amiga/gui.c @@ -251,7 +251,7 @@ STRPTR ami_locale_langs(void) { struct Locale *locale; STRPTR acceptlangs = NULL; - char *remapped; + char *remapped = NULL; if((locale = OpenLocale(NULL))) {