projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix all -Wall -W compiler warnings.
[oweals/tinc.git]
/
src
/
conf.c
diff --git
a/src/conf.c
b/src/conf.c
index 3289c587ea12f10d32232ddf15ac14ef9a91a3ef..c933f0992c3b86c826f46fb6ae252b1cee1df9fd 100644
(file)
--- a/
src/conf.c
+++ b/
src/conf.c
@@
-204,7
+204,7
@@
bool get_config_address(const config_t *cfg, struct addrinfo **result) {
}
bool get_config_subnet(const config_t *cfg, subnet_t **result) {
- subnet_t subnet = {
NULL
};
+ subnet_t subnet = {};
if(!cfg) {
return false;