diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-13 09:36:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-13 16:54:24 +0100 |
commit | 0f8f77630c3446950967382687f1ed6687f2c4eb (patch) | |
tree | 6d24b8beaecf2c84df81fb180da9a0f73d2e1f4d /rsc | |
parent | 512114e5f211a40bc7f41cb47885bb3b4ce3ded3 (diff) |
coverity#982170 Unchecked return value from library
hopefully rsc is on the way out
Change-Id: I270de6c4433560dbed0185e462237c3aa95a98a3
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/rsc/rsc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx index e5a7228fa335..5c37481d706a 100644 --- a/rsc/source/rsc/rsc.cxx +++ b/rsc/source/rsc/rsc.cxx @@ -710,7 +710,7 @@ ERRTYPE RscCompiler::Link() else { #ifdef UNX - chmod( it->aOutputRc.getStr(), S_IRWXU | S_IRWXG | S_IROTH ); + (void)chmod( it->aOutputRc.getStr(), S_IRWXU | S_IRWXG | S_IROTH ); #endif } @@ -726,7 +726,7 @@ ERRTYPE RscCompiler::Link() else { #ifdef UNX - chmod( aSysList.getStr(), S_IRWXU | S_IRWXG | S_IROTH ); + (void)chmod( aSysList.getStr(), S_IRWXU | S_IRWXG | S_IROTH ); #endif } } |