diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-24 18:20:41 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-11-24 18:20:41 -0800 |
commit | 191367e5d2b301f692c4561f252ee462635613a1 (patch) | |
tree | 18d62847e3a1757391c1e2eb75b9b290c3ec4853 /media/img_utils | |
parent | e4f6ecb9d323984c2b86f6d2735ebc69c5a3517a (diff) | |
download | frameworks_av-191367e5d2b301f692c4561f252ee462635613a1.zip frameworks_av-191367e5d2b301f692c4561f252ee462635613a1.tar.gz frameworks_av-191367e5d2b301f692c4561f252ee462635613a1.tar.bz2 |
Img_utils: Fix "unused" variables
For build-system CFLAGS clean-up, fix unused variables.
Change-Id: I589a73780f022271fce40f64305b29a84c382e5f
Diffstat (limited to 'media/img_utils')
-rw-r--r-- | media/img_utils/src/FileInput.cpp | 2 | ||||
-rw-r--r-- | media/img_utils/src/FileOutput.cpp | 2 |
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*/ |