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:
commit
bb24b1d77b
4
dist/tools/uhcpd/uhcpd.c
vendored
4
dist/tools/uhcpd/uhcpd.c
vendored
@ -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",
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user