"src/vscode:/vscode.git/clone" did not exist on "46d2147684a86d7b4219c83386c469d34c1b075f"
Commit 2d0e8fc9 authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

default to zero in Atof.

parent 44c201c4
......@@ -81,7 +81,7 @@ inline static const char* Atoi(const char* p, int* out) {
inline static const char* Atof(const char* p, double* out) {
int frac;
double sign, value, scale;
*out = 0;
// Skip leading white space, if any.
while (*p == ' ') {
++p;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment