From 542ff7fc367560b33c8d617c9534f934cab0a546 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 28 Dec 2014 06:51:28 -0800 Subject: [PATCH] Fix compiler warning: parse_dlf_buffer needs to return 0 on success Simply running off the end of a non-void function isn't nice. Signed-off-by: Dirk Hohndel --- parse-xml.c | 1 + 1 file changed, 1 insertion(+) diff --git a/parse-xml.c b/parse-xml.c index c2190b535..3fb495885 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -2586,6 +2586,7 @@ int parse_dlf_buffer(char *buffer, size_t size) ptr += 16; } dive_end(); + return 0; }