diff options
-rw-r--r-- | camera/CameraBase.cpp | 4 | ||||
-rw-r--r-- | camera/CameraParameters.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/camera/CameraBase.cpp b/camera/CameraBase.cpp index 55376b0..04694cd 100644 --- a/camera/CameraBase.cpp +++ b/camera/CameraBase.cpp @@ -49,7 +49,7 @@ namespace { DeathNotifier() { } - virtual void binderDied(const wp<IBinder>& who) { + virtual void binderDied(const wp<IBinder>& /*who*/) { ALOGV("binderDied"); Mutex::Autolock _l(gLock); gCameraService.clear(); @@ -153,7 +153,7 @@ status_t CameraBase<TCam, TCamTraits>::getStatus() } template <typename TCam, typename TCamTraits> -void CameraBase<TCam, TCamTraits>::binderDied(const wp<IBinder>& who) { +void CameraBase<TCam, TCamTraits>::binderDied(const wp<IBinder>& /*who*/) { ALOGW("mediaserver's remote binder Camera object died"); notifyCallback(CAMERA_MSG_ERROR, CAMERA_ERROR_SERVER_DIED, /*ext2*/0); } diff --git a/camera/CameraParameters.cpp b/camera/CameraParameters.cpp index af091f4..78eb4d6 100644 --- a/camera/CameraParameters.cpp +++ b/camera/CameraParameters.cpp @@ -456,7 +456,7 @@ const char *CameraParameters::getPictureFormat() const void CameraParameters::dump() const { - ALOGD("dump: mMap.size = %d", mMap.size()); + ALOGD("dump: mMap.size = %zu", mMap.size()); for (size_t i = 0; i < mMap.size(); i++) { String8 k, v; k = mMap.keyAt(i); @@ -465,7 +465,7 @@ void CameraParameters::dump() const } } -status_t CameraParameters::dump(int fd, const Vector<String16>& args) const +status_t CameraParameters::dump(int fd, const Vector<String16>& /*args*/) const { const size_t SIZE = 256; char buffer[SIZE]; |