1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #7039 from kaspar030/fix_in-function_static_variables

cleanup: remove unused in-function static variable properties (coccinelle)
This commit is contained in:
Kaspar Schleiser 2017-05-12 13:17:03 +02:00 committed by GitHub
commit bb24b1d77b
2 changed files with 3 additions and 3 deletions

View File

@ -41,8 +41,8 @@ int ipv6_addr_split(char *addr_str, char seperator, int _default)
int main(int argc, char *argv[])
{
static unsigned ifindex;
static unsigned _bind_to_device = 0;
unsigned ifindex;
unsigned _bind_to_device = 0;
if (argc < 3) {
fprintf(stderr, "usage: uhcpd <interface> <prefix/prefix_length> [%s]\n",

View File

@ -410,7 +410,7 @@ static void init_dtls(session_t *dst, char *addr_str)
*/
static void client_send(char *addr_str, char *data, unsigned int delay)
{
static int8_t iWatch;
int8_t iWatch;
static session_t dst;
static int connected = 0;
msg_t msg;