summaryrefslogtreecommitdiff
path: root/vcl/generic
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-07-04 20:09:01 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-07-04 20:11:47 +0200
commit1c053e7eb3dd08d1971450844dfdf61e7ddfae6a (patch)
tree9fe4e8f4c28e627fdaaa904885ce3429d4d73bea /vcl/generic
parent6151c6f4508fad5f37142d6c6c3286191ecd580c (diff)
coverity#735340 Unchecked return value
Change-Id: I13df98f64ce505a08ba3e8b2582a17f5d202c4d1
Diffstat (limited to 'vcl/generic')
-rw-r--r--vcl/generic/print/printerjob.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/generic/print/printerjob.cxx b/vcl/generic/print/printerjob.cxx
index 84dbd42d4aaf..9635aa3c78d6 100644
--- a/vcl/generic/print/printerjob.cxx
+++ b/vcl/generic/print/printerjob.cxx
@@ -478,7 +478,9 @@ PrinterJob::EndJob()
}
}
else
- chmod( aFileName.getStr(), mnFileMode );
+ {
+ (void)chmod( aFileName.getStr(), mnFileMode );
+ }
}
if (pDestFILE == NULL)
pDestFILE = fopen (aFileName.getStr(), "w");