Pārlūkot izejas kodu

remove unused return value

Christopher Brown 8 gadi atpakaļ
vecāks
revīzija
60feec1a33
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  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;
 }
 
-static bool consumeOptionalComma(const char *&pathDef) {
+static void consumeOptionalComma(const char *&pathDef) {
     while (*pathDef == ' ') {
         ++pathDef;
     }
     if (*pathDef == ',') {
         ++pathDef;
     }
-    return true;
 }
 
 static bool buildFromPath(Shape &shape, const char *pathDef) {