• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoapythonrubywindowsphpgameguibathyscaphec翻訳omegatframework計画中(planning stage)twitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

external/gbm_gralloc


Commit MetaInfo

Revision35be82684a04b7b8f99a69e5e0ae402d85238a4e (tree)
Time2017-12-01 05:28:21
AuthorRob Herring <robh@kern...>
CommiterRob Herring

Log Message

Fix unused parameter 'handle' warning

AOSP now builds with -Werror. Fix this warning:

gralloc_drm_handle.h:90:62: error: unused parameter 'handle' [-Werror,-Wunused-parameter]

Change-Id: Ief13c01f0ca1ede2b9ef5662acbdc6d0f27f6cd4
Signed-off-by: Rob Herring <robh@kernel.org>

Change Summary

Incremental Difference

--- a/gralloc_drm_handle.h
+++ b/gralloc_drm_handle.h
@@ -89,6 +89,7 @@ static inline int gralloc_drm_get_prime_fd(buffer_handle_t _handle)
8989
9090 static inline int gralloc_drm_get_gem_handle(buffer_handle_t handle)
9191 {
92+ (void)handle;
9293 return 0; /* Not supported, return invalid handle. */
9394 }
9495