summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/cppcodemarker.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-09-27 13:26:56 -0700
committerThiago Macieira <thiago.macieira@intel.com>2015-10-06 16:37:41 +0000
commit9684e16f002f4f813c49141de2933a7fb0c71461 (patch)
tree0eba85b736ce1b6a615245cf1a3eef136ecebf1f /src/tools/qdoc/cppcodemarker.cpp
parentda5b8bfe4647f4a0494e7dd2e08d6652f72803f0 (diff)
QUtf8Codec: Remove dead code
The maximum value for charsNeeded is 4, so if bytesAvailable is less than charsNeeded - 1, the it's at most 2. It can't be larger than 2. Found by Coverity, CID 11000. Change-Id: I42e7ef1a481840699a8dffff1407ef9221a4fd80 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/tools/qdoc/cppcodemarker.cpp')
0 files changed, 0 insertions, 0 deletions