From 839f7a32a4e46892d17369df4c35c54b2e7276af Mon Sep 17 00:00:00 2001 From: PKEuS Date: Sun, 26 Aug 2012 10:41:48 +0200 Subject: [PATCH] It is ok to pass a nullpointer as first argument to mbstowcs and wcstombs, which then just return how long the buffer has to be to store the result. --- lib/checknullpointer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/checknullpointer.cpp b/lib/checknullpointer.cpp index 72d76c7e3..c76c023da 100644 --- a/lib/checknullpointer.cpp +++ b/lib/checknullpointer.cpp @@ -104,8 +104,6 @@ void CheckNullPointer::parseFunctionCall(const Token &tok, std::list