From 2b50e73aa94ee9718772b6e08b017490387a1861 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Sat, 14 Mar 2015 15:18:29 +0300 Subject: [PATCH] Misleading comment --- lib/checkbufferoverrun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkbufferoverrun.cpp b/lib/checkbufferoverrun.cpp index 6bc1a37af..7de08d8e3 100644 --- a/lib/checkbufferoverrun.cpp +++ b/lib/checkbufferoverrun.cpp @@ -1090,7 +1090,7 @@ void CheckBufferOverrun::checkGlobalAndLocalVariable() if (!var || !var->isPointer() || var->typeStartToken()->next() != var->typeEndToken()) continue; - // get name of variable + // get type of variable type = var->typeStartToken()->str(); // malloc() gets count of bytes and not count of