From 7453ffb6a86769bd22ce01da43fbbe919bef861d Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sat, 6 May 2000 17:04:10 +0000 Subject: Got rid of some warnings. 2000-05-06 Christopher James Lahey * e-html-utils.c: Got rid of some warnings. * e-util.c, e-util.h: Added e_read_file which takes a filename and returns a newly allocated string containing the contents of that file. svn path=/trunk/; revision=2828 --- e-util/e-html-utils.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'e-util/e-html-utils.c') diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c index 8f872421d7..dc47d0243c 100644 --- a/e-util/e-html-utils.c +++ b/e-util/e-html-utils.c @@ -1,6 +1,5 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* e-html-utils.c -/* * Copyright (C) 2000 Helix Code, Inc. * Author: Dan Winship * @@ -135,7 +134,7 @@ e_text_to_html (const char *input, unsigned int flags) while (*cur) { if (isalpha (*cur) && (flags & E_TEXT_TO_HTML_CONVERT_URLS)) { - char *tmpurl = NULL, *refurl, *dispurl; + char *tmpurl = NULL, *refurl = NULL, *dispurl = NULL; if (!strncasecmp (cur, "http://", 7) || !strncasecmp (cur, "https://", 8) || -- cgit