summaryrefslogtreecommitdiffstats
path: root/media/img_utils
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-25 17:39:05 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-11-25 17:39:05 +0000
commit7877cb80fadae8e31573bbe5b6277457a38bce54 (patch)
treefe9f97e39b51b9475f49aa24f71b4b8bd0f47b87 /media/img_utils
parentd56a953a1550e36d47563144ffcc4d23c211e7ef (diff)
parent191367e5d2b301f692c4561f252ee462635613a1 (diff)
downloadframeworks_av-7877cb80fadae8e31573bbe5b6277457a38bce54.zip
frameworks_av-7877cb80fadae8e31573bbe5b6277457a38bce54.tar.gz
frameworks_av-7877cb80fadae8e31573bbe5b6277457a38bce54.tar.bz2
Merge "Img_utils: Fix "unused" variables"
Diffstat (limited to 'media/img_utils')
-rw-r--r--media/img_utils/src/FileInput.cpp2
-rw-r--r--media/img_utils/src/FileOutput.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/media/img_utils/src/FileInput.cpp b/media/img_utils/src/FileInput.cpp
index 498e715..4c85a51 100644
--- a/media/img_utils/src/FileInput.cpp
+++ b/media/img_utils/src/FileInput.cpp
@@ -78,7 +78,7 @@ status_t FileInput::close() {
ret = BAD_VALUE;
}
mOpen = false;
- return OK;
+ return ret;
}
} /*namespace img_utils*/
diff --git a/media/img_utils/src/FileOutput.cpp b/media/img_utils/src/FileOutput.cpp
index ce763ff..0346762 100644
--- a/media/img_utils/src/FileOutput.cpp
+++ b/media/img_utils/src/FileOutput.cpp
@@ -72,7 +72,7 @@ status_t FileOutput::close() {
ret = BAD_VALUE;
}
mOpen = false;
- return OK;
+ return ret;
}
} /*namespace img_utils*/