1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

Fix warning from last patch

[ From commit 0ac97979a217cb41bdc11d22583fbd029dc1c871 in ELinks
  0.12.GIT.  Related to bug 396.  --KON ]
This commit is contained in:
Jonas Fonseca 2006-11-06 05:35:57 +01:00 committed by Kalle Olavi Niemitalo
parent 30cf0e57b2
commit 4ddec1e3f2

View File

@ -234,7 +234,7 @@ get_fragment_content_type(struct cache_entry *cached)
struct fragment *fragment;
size_t length;
unsigned char *sample;
unsigned char *ctype;
unsigned char *ctype = NULL;
if (list_empty(cached->frag))
return NULL;