From: Lars Knoll Date: Thu, 12 Jun 2014 08:19:12 +0000 (+0200) Subject: Initialize variable X-Git-Tag: v5.3.99+beta1~80^2^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=44108a88dd616fbfb71cebcc043b09f46b0e036e;p=platform%2Fupstream%2Fqtdeclarative.git Initialize variable Change-Id: Ia54dc43d22b8edaa49634c6a364f87b4a06d659d Reviewed-by: Simon Hausmann --- diff --git a/src/qml/jsruntime/qv4globalobject.cpp b/src/qml/jsruntime/qv4globalobject.cpp index eb0994c..4630bfe 100644 --- a/src/qml/jsruntime/qv4globalobject.cpp +++ b/src/qml/jsruntime/qv4globalobject.cpp @@ -505,7 +505,7 @@ ReturnedValue GlobalFunctions::method_parseInt(CallContext *ctx) if (pos == end) // 12 return Encode(std::numeric_limits::quiet_NaN()); bool overflow = false; - qint64 v_overflow; + qint64 v_overflow = 0; unsigned overflow_digit_count = 0; int d = toInt(*pos++, R); if (d == -1)