Browse Source

remove unused return value

Christopher Brown 8 years ago
parent
commit
60feec1a33
1 changed files with 1 additions and 2 deletions
  1. 1 2
      ext/import-svg.cpp

+ 1 - 2
ext/import-svg.cpp

@@ -52,14 +52,13 @@ static bool readDouble(double &output, const char *&pathDef) {
     return false;
     return false;
 }
 }
 
 
-static bool consumeOptionalComma(const char *&pathDef) {
+static void consumeOptionalComma(const char *&pathDef) {
     while (*pathDef == ' ') {
     while (*pathDef == ' ') {
         ++pathDef;
         ++pathDef;
     }
     }
     if (*pathDef == ',') {
     if (*pathDef == ',') {
         ++pathDef;
         ++pathDef;
     }
     }
-    return true;
 }
 }
 
 
 static bool buildFromPath(Shape &shape, const char *pathDef) {
 static bool buildFromPath(Shape &shape, const char *pathDef) {