[lasem/lasem-0-4] Pass along return value of itex2MML_do_html_filter() in itex2MML_html_filter() and itex2MML_strict_h
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem/lasem-0-4] Pass along return value of itex2MML_do_html_filter() in itex2MML_html_filter() and itex2MML_strict_h
- Date: Tue, 1 Jan 2013 10:29:19 +0000 (UTC)
commit 703f1cb66394a1172d72863d86e40ceae1417194
Author: J.H.M. Dassen (Ray) <jdassen debian org>
Date: Mon Dec 31 22:49:40 2012 +0100
Pass along return value of itex2MML_do_html_filter()
in itex2MML_html_filter() and itex2MML_strict_html_filter().
This addresses "control reaches end of non-void function" warnings
from -Wreturn-type.
itex2mml/itex2MML.y | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/itex2mml/itex2MML.y b/itex2mml/itex2MML.y
index 10d6319..28d884c 100644
--- a/itex2mml/itex2MML.y
+++ b/itex2mml/itex2MML.y
@@ -1935,10 +1935,10 @@ int itex2MML_do_html_filter (const char * buffer, unsigned long length, const in
int itex2MML_html_filter (const char * buffer, unsigned long length)
{
- itex2MML_do_html_filter (buffer, length, 0);
+ return itex2MML_do_html_filter (buffer, length, 0);
}
int itex2MML_strict_html_filter (const char * buffer, unsigned long length)
{
- itex2MML_do_html_filter (buffer, length, 1);
+ return itex2MML_do_html_filter (buffer, length, 1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]