Fix unused parameter warning for explicit dummy variable.
This function explicitly names its argument as 'dummy'. It would be
easy to remove the argument from the function and its sole caller as
they are all contained in the same file, but its a back pointer to the
VideoList object that is calling this VideoListImp function. Leave it
and just comment out the name.
---
mythtv/programs/mythfrontend/videolist.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mythtv/programs/mythfrontend/videolist.cpp b/mythtv/programs/mythfrontend/videolist.cpp
index 7bcbda0..8ecf238 100644
a
|
b
|
class VideoListImp |
406 | 406 | return m_video_filter.getChangedState(); |
407 | 407 | } |
408 | 408 | |
409 | | bool Delete(unsigned int video_id, VideoList &dummy) |
| 409 | bool Delete(unsigned int video_id, VideoList &/*dummy*/) |
410 | 410 | { |
411 | 411 | bool ret = false; |
412 | 412 | MetadataPtr mp = m_metadata.byID(video_id); |