summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global/qglobal/qglobal.c
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-02-17 12:29:22 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2021-02-18 11:22:29 +0100
commit563dc357fbe63f90552323bcc705e6cff4c9bd51 (patch)
tree7fdfe87e82f37cdb2540813809f5cc19f63ea7bb /tests/auto/corelib/global/qglobal/qglobal.c
parenta54177cb940dc1d11d1591621edfe3ed42b0d778 (diff)
Fix misguided conditional, simplify code
Prompted by a PVS-studio article. The count <= 0 check made a later !count check redundant. Change-Id: I6c00ad6137b14db13c9c31c61833b4546f663072 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/corelib/global/qglobal/qglobal.c')
0 files changed, 0 insertions, 0 deletions