aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-html-utils.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-07 01:04:10 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-07 01:04:10 +0800
commit7453ffb6a86769bd22ce01da43fbbe919bef861d (patch)
tree7ae0da105d87b7bff10780700d9f9f83aa2a6959 /e-util/e-html-utils.c
parent9b57702d4d406955ce3ec2e841253ed3efe3bbb8 (diff)
downloadgsoc2013-evolution-7453ffb6a86769bd22ce01da43fbbe919bef861d.tar.gz
gsoc2013-evolution-7453ffb6a86769bd22ce01da43fbbe919bef861d.tar.zst
gsoc2013-evolution-7453ffb6a86769bd22ce01da43fbbe919bef861d.zip
Got rid of some warnings.
2000-05-06 Christopher James Lahey <clahey@helixcode.com> * 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
Diffstat (limited to 'e-util/e-html-utils.c')
-rw-r--r--e-util/e-html-utils.c3
1 files changed, 1 insertions, 2 deletions
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 <danw@helixcode.com>
*
@@ -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) ||