Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

循环变量i的重复使用 #9

Closed
gpstrive opened this issue May 17, 2017 · 1 comment
Closed

循环变量i的重复使用 #9

gpstrive opened this issue May 17, 2017 · 1 comment

Comments

@gpstrive
Copy link

static int
init_arp_ring(void)
{
....
for (i = 0; i < nb_ports; i++) {
uint8_t port_id = ff_global_cfg.dpdk.port_cfgs[i].port_id;

    for(i = 0; i < nb_procs; ++i) {

}
这个循环中,i重复使用, 不会出问题吗?

@whl739
Copy link
Member

whl739 commented May 17, 2017

是的,这个地方之前已经看到了,马上会修复的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants