Commit 212c3918 authored by Martin Storsjö's avatar Martin Storsjö Committed by Jean-Baptiste Kempf

omxil: Avoid warnings about unused parameters in the IOMX C++ file

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent acae658c
...@@ -68,7 +68,7 @@ public: ...@@ -68,7 +68,7 @@ public:
node = n; node = n;
} }
void onMessage(const omx_message &msg); void onMessage(const omx_message &msg);
void registerBuffers(const sp<IMemoryHeap> &mem) { void registerBuffers(const sp<IMemoryHeap> &) {
} }
private: private:
OMXNode *node; OMXNode *node;
...@@ -157,7 +157,7 @@ static int get_param_size(OMX_INDEXTYPE param_index) ...@@ -157,7 +157,7 @@ static int get_param_size(OMX_INDEXTYPE param_index)
} }
} }
static OMX_ERRORTYPE iomx_send_command(OMX_HANDLETYPE component, OMX_COMMANDTYPE command, OMX_U32 param1, OMX_PTR cmd_data) static OMX_ERRORTYPE iomx_send_command(OMX_HANDLETYPE component, OMX_COMMANDTYPE command, OMX_U32 param1, OMX_PTR)
{ {
OMXNode* node = (OMXNode*) ((OMX_COMPONENTTYPE*)component)->pComponentPrivate; OMXNode* node = (OMXNode*) ((OMX_COMPONENTTYPE*)component)->pComponentPrivate;
return get_error(ctx->iomx->sendCommand(node->node, command, param1)); return get_error(ctx->iomx->sendCommand(node->node, command, param1));
...@@ -368,7 +368,7 @@ static OMX_ERRORTYPE iomx_get_roles_of_component(OMX_STRING component_name, OMX_ ...@@ -368,7 +368,7 @@ static OMX_ERRORTYPE iomx_get_roles_of_component(OMX_STRING component_name, OMX_
return OMX_ErrorInvalidComponentName; return OMX_ErrorInvalidComponentName;
} }
void* iomx_dlopen(const char *name) void* iomx_dlopen(const char *)
{ {
if (!ctx) if (!ctx)
ctx = new IOMXContext(); ctx = new IOMXContext();
...@@ -386,7 +386,7 @@ void iomx_dlclose(void *handle) ...@@ -386,7 +386,7 @@ void iomx_dlclose(void *handle)
} }
} }
void *iomx_dlsym(void *handle, const char *name) void *iomx_dlsym(void *, const char *name)
{ {
if (!strcmp(name, "OMX_Init")) if (!strcmp(name, "OMX_Init"))
return (void*) iomx_init; return (void*) iomx_init;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment