diff options
author | Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> | 2012-04-11 17:35:47 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-12 04:33:57 +0200 |
commit | c7da50ef8cf30558537425918cf03f5e72c680c1 (patch) | |
tree | e59fa548b72424bf5e9b10b1313c6f0544e44c6a /tests/auto/widgets/widgets | |
parent | 4800a94c94bdd1491a5dba1c89cf0edbd4b84121 (diff) |
Suppress warnings caused by ignoring chdir retval
Using g++ 4.6.1, we get warnings like below:
qprocess_unix.cpp:1376:69: warning: ignoring return value of
‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
g++ is pretty adamant and prints the warning even if you explicitly
ignore using (void). So, just check for error and print a warning.
Change-Id: Ifd6f3b6bb9e17d44aa235815b06a762131ca8751
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/widgets/widgets')
0 files changed, 0 insertions, 0 deletions