diff options
author | Rolland Dudemaine <rolland@ghs.com> | 2015-10-27 02:49:05 +0100 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-12-04 00:28:10 +0000 |
commit | dff4120a378bab8269de41844f1510bbe6fd373e (patch) | |
tree | cb7678bb3edd79823cd995aaa5751733b5308d07 /src/widgets/dialogs/qfiledialog.cpp | |
parent | 7cff3e807ead31e4955e1379e20a5e576cf0ae69 (diff) |
Add an else clause that clears the return value.
This avoids several warnings with the GHS toolchain, in the form:
warning #111-D: statement is unreachable
This is because the sizeof() equality test is statically determined,
but the following code is not discarded automatically. It is when
using an explicit else clause.
Change-Id: Ic0584aafc72f70badcf5285ab635f9d99eac161a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets/dialogs/qfiledialog.cpp')
0 files changed, 0 insertions, 0 deletions