NULL a couple of variables

This commit is contained in:
Chris Young 2016-06-15 21:04:51 +01:00
parent 66d0f14b32
commit 75dcf09394
2 changed files with 2 additions and 2 deletions

View File

@ -352,7 +352,7 @@ static APTR ami_mime_guess_add_datatype(struct DataType *dt, lwc_string **lwc_mi
{ {
struct nsObject *node; struct nsObject *node;
char mimetype[100]; char mimetype[100];
char *dt_name_lwr; char *dt_name_lwr = NULL;
struct ami_mime_entry *mimeentry; struct ami_mime_entry *mimeentry;
lwc_error lerror; lwc_error lerror;
struct DataTypeHeader *dth = dt->dtn_Header; struct DataTypeHeader *dth = dt->dtn_Header;

View File

@ -251,7 +251,7 @@ STRPTR ami_locale_langs(void)
{ {
struct Locale *locale; struct Locale *locale;
STRPTR acceptlangs = NULL; STRPTR acceptlangs = NULL;
char *remapped; char *remapped = NULL;
if((locale = OpenLocale(NULL))) if((locale = OpenLocale(NULL)))
{ {