If you want to add returns you need to do it in all other examples also.
Like example/packet
Maxim.
On 01/28/2015 07:01 PM, Ciprian Barbu wrote:
Fix for https://bugs.linaro.org/show_bug.cgi?id=1161
Signe-off-by: Ciprian Barbu <ciprian.ba...@linaro.org>
---
example/l2fwd/odp_l2fwd.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/example/l2fwd/odp_l2fwd.c b/example/l2fwd/odp_l2fwd.c
index 150de18..7c4e8bd 100644
--- a/example/l2fwd/odp_l2fwd.c
+++ b/example/l2fwd/odp_l2fwd.c
@@ -146,6 +146,7 @@ static void *pktio_queue_thread(void *arg)
}
/* unreachable */
+ return NULL;
}
/**
@@ -233,6 +234,7 @@ static void *pktio_ifburst_thread(void *arg)
}
/* unreachable */
+ return NULL;
}
/**
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lng-odp