From 71188357ccc74a381f48d4747a2e4a8fedb1626b Mon Sep 17 00:00:00 2001 From: "Mike D. Lowis" Date: Tue, 9 Jun 2015 11:44:46 -0400 Subject: [PATCH] Fixed compiler warnings for stubs --- source/utf/rune.c | 9 +++++++++ source/utf/runetype.c | 12 +++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/source/utf/rune.c b/source/utf/rune.c index d65083a..45d9754 100644 --- a/source/utf/rune.c +++ b/source/utf/rune.c @@ -2,26 +2,35 @@ int runetochar(char* s, Rune* r) { + (void)s; + (void)r; return 0; } int chartorune(Rune* r, char* s) { + (void)r; + (void)s; return 0; } int runelen(long r) { + (void)r; return 0; } int runenlen(Rune* r, int num) { + (void)r; + (void)num; return 0; } bool fullrune(char* s, int n) { + (void)s; + (void)n; return false; } diff --git a/source/utf/runetype.c b/source/utf/runetype.c index bfffe34..c80c109 100644 --- a/source/utf/runetype.c +++ b/source/utf/runetype.c @@ -2,57 +2,67 @@ Rune tolowerrune(Rune ch) { + (void)ch; return 0; } Rune totitlerune(Rune ch) { + (void)ch; return 0; } Rune toupperrune(Rune ch) { + (void)ch; return 0; } Rune tobaserune(Rune ch) { + (void)ch; return 0; } bool isalpharune(Rune ch) { + (void)ch; return false; } bool isbaserune(Rune ch) { + (void)ch; return false; } bool isdigitrune(Rune ch) { + (void)ch; return false; } bool islowerrune(Rune ch) { + (void)ch; return false; } bool isspacerune(Rune ch) { + (void)ch; return false; } bool istitlerune(Rune ch) { + (void)ch; return false; } bool isupperrune(Rune ch) { + (void)ch; return false; } - -- 2.54.0