From 98048c135a82bd08aef2cd56a04779c724956c25 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 16 Sep 2013 08:40:27 -0700 Subject: [PATCH] Shut up clang analyzer warning --- aegisub/libaegisub/common/vfr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/libaegisub/common/vfr.cpp b/aegisub/libaegisub/common/vfr.cpp index 8cfcfafbe..543d84215 100644 --- a/aegisub/libaegisub/common/vfr.cpp +++ b/aegisub/libaegisub/common/vfr.cpp @@ -75,7 +75,7 @@ TimecodeRange v1_parse_line(std::string const& str) { std::istringstream ss(str); TimecodeRange range; - char comma1, comma2; + char comma1 = 0, comma2 = 0; ss >> range.start >> comma1 >> range.end >> comma2 >> range.fps; if (ss.fail() || comma1 != ',' || comma2 != ',' || !ss.eof()) throw MalformedLine(str);