Explorar o código

remove unused return value

Christopher Brown %!s(int64=9) %!d(string=hai) anos
pai
achega
60feec1a33
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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) {