eina-cxx: remove unused parameter names and fix function without return in examples.
Summary: Fix function with return type and not returning any value and remove warnings about unused identifiers in examples for eina C++. Reviewers: cedric, stefan, stefan_schmidt CC: savio, cedric Differential Revision: https://phab.enlightenment.org/D837 Signed-off-by: Cedric Bail <cedric.bail@free.fr>
This commit is contained in:
parent
186f89c09e
commit
64cbfa3ea5
|
@ -14,9 +14,10 @@ I next(I i, std::size_t n = 1u)
|
|||
{
|
||||
for(;n;--n)
|
||||
++i;
|
||||
return i;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
int main()
|
||||
{
|
||||
efl::eina::eina_init eina_init;
|
||||
|
||||
|
|
|
@ -11,12 +11,12 @@
|
|||
|
||||
namespace eina = efl::eina;
|
||||
|
||||
void thread1(eina::mutex& m)
|
||||
void thread1(eina::mutex&)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
int main()
|
||||
{
|
||||
eina::eina_init eina_init;
|
||||
eina::eina_threads_init threads_init;
|
||||
|
|
Loading…
Reference in New Issue