mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Fix an unused variable warning with python parameterless callbacks
This commit is contained in:
@@ -866,6 +866,10 @@ struct varfunc
|
||||
|
||||
currentarg = 0;
|
||||
|
||||
// avoid unused parameter errors when calling a parameter-less function
|
||||
(void)self;
|
||||
(void)funcname;
|
||||
|
||||
using expand_type = int[];
|
||||
(void)expand_type{0, (push_arg(self, funcname, params), 0)...};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user