summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-04-02 14:41:00 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-05 05:23:03 +0200
commit3e930baa98b4382b76aea5ed6ffdcfb60cdce2d4 (patch)
treea13e1c74b04cc2b52cb0cc2253604b99075a0214 /INSTALL
parent6c8ecf1000a5defef40348bfda5527dabb57ecf4 (diff)
Use Q_STATIC_ASSERT to check that the array has the right size
No need to sprinkle the code with Q_ASSERT. We don't want this to fail to the user anyway. By using a Q_STATIC_ASSERT, a failure will be immediately reported to the developer. This also solves a warning found by Clang 3.4: error: unused variable 'pageSizesCount' [-Werror,-Wunused-const-variable] Change-Id: I79cf72c64242ad395276ce4360c59ad81112d9eb Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions