Applied to master, thanks

2016-08-07 14:06 GMT-07:00 Bhanuprakash Bodireddy <
bhanuprakash.bodire...@intel.com>:

> Clang reports that value stored to 'tok' during initialization is never
> read.
>
> Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodire...@intel.com>
> ---
>  lib/netdev-dpdk.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
> index f37ec1c..dd79e4b 100644
> --- a/lib/netdev-dpdk.c
> +++ b/lib/netdev-dpdk.c
> @@ -3063,7 +3063,7 @@ extra_dpdk_args(const char *ovs_extra_config, char
> ***argv, int argc)
>  {
>      int ret = argc;
>      char *release_tok = xstrdup(ovs_extra_config);
> -    char *tok = release_tok, *endptr = NULL;
> +    char *tok, *endptr = NULL;
>
>      for (tok = strtok_r(release_tok, " ", &endptr); tok != NULL;
>           tok = strtok_r(NULL, " ", &endptr)) {
> --
> 2.4.11
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to