summaryrefslogtreecommitdiff
path: root/src/examples/eina_cxx/eina_cxx_list_01.cc
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-05-09 12:46:44 +0200
committerCedric Bail <cedric.bail@free.fr>2014-05-09 12:46:48 +0200
commitb96fcc9247251bdc39010e6daeb6160f3243af59 (patch)
tree3c0dfb2e70e76fad5a5648bc63621d0045536ffa /src/examples/eina_cxx/eina_cxx_list_01.cc
parent0a6a3deaee0f5d857fff133c77e5989dba2d4e57 (diff)
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>
Diffstat (limited to 'src/examples/eina_cxx/eina_cxx_list_01.cc')
-rw-r--r--src/examples/eina_cxx/eina_cxx_list_01.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/examples/eina_cxx/eina_cxx_list_01.cc b/src/examples/eina_cxx/eina_cxx_list_01.cc
index b451ef1..0cb0381 100644
--- a/src/examples/eina_cxx/eina_cxx_list_01.cc
+++ b/src/examples/eina_cxx/eina_cxx_list_01.cc
@@ -14,9 +14,10 @@ I next(I i, std::size_t n = 1u)
14{ 14{
15 for(;n;--n) 15 for(;n;--n)
16 ++i; 16 ++i;
17 return i;
17} 18}
18 19
19int main(int argc, char **argv) 20int main()
20{ 21{
21 efl::eina::eina_init eina_init; 22 efl::eina::eina_init eina_init;
22 23