diff options
author | David Faure <david.faure@kdab.com> | 2014-03-13 21:27:05 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-11 23:02:36 +0200 |
commit | b526e44a37776861b187de62ebc4e21ba4c67cc4 (patch) | |
tree | 8b40b9e8e2007d57635d9c54d1c724f95ba354b2 /src/corelib/kernel/qcoreapplication.cpp | |
parent | 4c1e15548a288455a5a62dcefacd7c9a44736346 (diff) |
QtCore: Use Q_REQUIRED_RESULT in many more places
gcc doesn't yet warn when a non-POD return datatype is unused,
but clang does, at least.
This detected two bugs in qtbase due to the bad QDate method naming,
and will help application developers to avoid this trap too.
Change-Id: I106c1a32d2c6fc8d02f57beb7b61940605c80d76
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/kernel/qcoreapplication.cpp')
0 files changed, 0 insertions, 0 deletions