]> git.mdlowis.com Git - archive/carl.git/commitdiff
Fixed compiler warnings for stubs
authorMike D. Lowis <mike.lowis@gentex.com>
Tue, 9 Jun 2015 15:44:46 +0000 (11:44 -0400)
committerMike D. Lowis <mike.lowis@gentex.com>
Tue, 9 Jun 2015 15:44:46 +0000 (11:44 -0400)
source/utf/rune.c
source/utf/runetype.c

index d65083a44a406bca7703f818b3dae945d7cf1c50..45d9754f7faf5681372e2e330e4468850810e671 100644 (file)
@@ -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;
 }
 
index bfffe349a6b9e70e163ef2c02ffbb2f7b4f92f5f..c80c1090e31a28104e2600ead7ec14921bd963ec 100644 (file)
@@ -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;
 }
 
-