diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-12-28 06:51:28 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-28 06:51:28 -0800 |
commit | 542ff7fc367560b33c8d617c9534f934cab0a546 (patch) | |
tree | a9e2a9ad51b7e89e3b16263126748a928be6e56b | |
parent | eab52183a8fb06c3248d4bace8a82f2d2534b3ea (diff) | |
download | subsurface-542ff7fc367560b33c8d617c9534f934cab0a546.tar.gz |
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 <dirk@hohndel.org>
-rw-r--r-- | parse-xml.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |