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:
Felipe Magno de Almeida 2014-05-09 12:46:44 +02:00 committed by Cedric Bail
parent 186f89c09e
commit 64cbfa3ea5
2 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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;