{"action":"opened","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3069","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3069/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3069/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3069/events","html_url":"https://github.com/RIOT-OS/RIOT/issues/3069","id":80967907,"number":3069,"title":"shell: strange warnings for netif","user":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/network","name":"network","color":"bfdadc"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"authmillenon","id":675644,"avatar_url":"https://avatars.githubusercontent.com/u/675644?v=3","gravatar_id":"","url":"https://api.github.com/users/authmillenon","html_url":"https://github.com/authmillenon","followers_url":"https://api.github.com/users/authmillenon/followers","following_url":"https://api.github.com/users/authmillenon/following{/other_user}","gists_url":"https://api.github.com/users/authmillenon/gists{/gist_id}","starred_url":"https://api.github.com/users/authmillenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/authmillenon/subscriptions","organizations_url":"https://api.github.com/users/authmillenon/orgs","repos_url":"https://api.github.com/users/authmillenon/repos","events_url":"https://api.github.com/users/authmillenon/events{/privacy}","received_events_url":"https://api.github.com/users/authmillenon/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-05-26T13:43:42Z","updated_at":"2015-05-26T13:43:42Z","closed_at":null,"body":"I'm not exactly sure, what's going wrong here, but if I merge #2944 on current master and add\r\n```diff\r\n+USEMODULE += ng_sixlowpan_default\r\n+USEMODULE += ng_ipv6_netif\r\n```\r\nto the `examples/default` Makefile, I receive these warnings:\r\n```\r\n\"make\" -C /home/oleg/git/RIOT/sys/shell/commands\r\n/home/oleg/git/RIOT/sys/shell/commands/sc_netif.c: In function '_netif_send'\r\n/home/oleg/git/RIOT/sys/shell/commands/sc_netif.c:59:16: warning: array subscript is above array bounds [-Warray-bounds]\r\n         if (ifs[i] == dev) {\r\n                ^\r\n/home/oleg/git/RIOT/sys/shell/commands/sc_netif.c: In function '_netif_config'\r\n/home/oleg/git/RIOT/sys/shell/commands/sc_netif.c:707:13: warning: array subscript is above array bounds [-Warray-bounds]\r\n             _netif_list(ifs[i]);\r\n             ^\r\n/home/oleg/git/RIOT/sys/shell/commands/sc_netif.c:59:16: warning: array subscript is above array bounds [-Warray-bounds]\r\n         if (ifs[i] == dev) {\r\n                ^\r\n/home/oleg/git/RIOT/sys/shell/commands/sc_ipv6_nc.c: In function '_ipv6_nc_manage'\r\n/home/oleg/git/RIOT/sys/shell/commands/sc_ipv6_nc.c:94:16: warning: array subscript is above array bounds [-Warray-bounds]\r\n         if (ifs[i] == iface) {\r\n                ^\r\n/home/oleg/git/RIOT/sys/shell/commands/sc_ipv6_nc.c: In function '_ipv6_nc_routers'\r\n/home/oleg/git/RIOT/sys/shell/commands/sc_ipv6_nc.c:94:16: warning: array subscript is above array bounds [-Warray-bounds]\r\n         if (ifs[i] == iface) {\r\n ```\r\n\r\nWhich is strange because `NG_NETIF_NUMOF` is properly set to 1. If I manually change the array size to 1, the warning remains, but vanishes if I set it to 2...\r\n\r\nIs this some weird behavior of my toolchain or do I miss something?"}}