use memcmp instead of strncmp in C++ scanner
authorJoerg Bornemann <joerg.bornemann@digia.com>
Tue, 3 Dec 2013 14:52:41 +0000 (15:52 +0100)
committerJoerg Bornemann <joerg.bornemann@digia.com>
Wed, 4 Dec 2013 10:09:05 +0000 (11:09 +0100)
commit0f9b73823a3ba3b97b59d2d29901ecf1e52e5655
tree6863391599e3622b22bf01d4ff21bfbf0a65ed70
parent57e5bb4cb5227912e668453a5a01400adc577960
use memcmp instead of strncmp in C++ scanner

We already know the actual string length, so there is no point
in having the function figure it out itself.

Change-Id: I34303ba07e46c634dac42228479ed59ae2966592
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
src/plugins/scanner/cpp/cppscanner.cpp