From: Mike D. Lowis Date: Tue, 9 Jun 2015 15:44:46 +0000 (-0400) Subject: Fixed compiler warnings for stubs X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=71188357ccc74a381f48d4747a2e4a8fedb1626b;p=archive%2Fcarl.git Fixed compiler warnings for stubs --- 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; } -