Index: src/utils/SkParsePath.cpp |
diff --git a/src/utils/SkParsePath.cpp b/src/utils/SkParsePath.cpp |
index 4c9923f49fb61b58370f8b092bf281691467bfdb..1a3c87f31d9177cc596a6053f95b3ff7bb29988d 100644 |
--- a/src/utils/SkParsePath.cpp |
+++ b/src/utils/SkParsePath.cpp |
@@ -188,7 +188,6 @@ bool SkParsePath::FromSVGString(const char data[], SkPath* result) { |
#include "SkStream.h" |
static void write_scalar(SkWStream* stream, SkScalar value) { |
-#ifdef SK_SCALAR_IS_FLOAT |
char buffer[64]; |
#ifdef SK_BUILD_FOR_WIN32 |
int len = _snprintf(buffer, sizeof(buffer), "%g", value); |
@@ -196,10 +195,6 @@ static void write_scalar(SkWStream* stream, SkScalar value) { |
int len = snprintf(buffer, sizeof(buffer), "%g", value); |
#endif |
char* stop = buffer + len; |
-#else |
- char buffer[SkStrAppendScalar_MaxSize]; |
- char* stop = SkStrAppendScalar(buffer, value); |
-#endif |
stream->write(buffer, stop - buffer); |
} |