mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-12 05:49:19 +03:00
NULL a couple of variables
This commit is contained in:
parent
66d0f14b32
commit
75dcf09394
@ -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;
|
||||||
|
@ -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)))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user