SWDEV-306939 - Fix vdi errors/warnings by CppCheck

Change-Id: I56d910f8363787f1050d5d7e8064ed553c5827fd
このコミットが含まれているのは:
Satyanvesh Dittakavi
2021-12-01 17:23:00 +00:00
コミット e20dd61932
45個のファイルの変更113行の追加160行の削除
+1 -1
ファイルの表示
@@ -295,7 +295,6 @@ void PrintfDbg::outputDbgBuffer(const device::PrintfInfo& info, const uint32_t*
if (posStart != std::string::npos) {
bool printFloat = false;
int vectorSize = 0;
size_t length;
size_t idPos = 0;
// Search for PrintfDbg specifier in the format string.
@@ -332,6 +331,7 @@ void PrintfDbg::outputDbgBuffer(const device::PrintfInfo& info, const uint32_t*
// Is it a scalar value?
if (vectorSize == 0) {
size_t length;
length = outputArgument(fmt, printFloat, info.arguments_[j], &s[i]);
if (0 == length) {
return;