summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/test-nss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-nss.c b/src/test/test-nss.c
index 4ccfe75147..b59cb7aa69 100644
--- a/src/test/test-nss.c
+++ b/src/test/test-nss.c
@@ -511,7 +511,7 @@ int main(int argc, char **argv) {
_cleanup_free_ char *dir = NULL;
_cleanup_strv_free_ char **modules = NULL, **names = NULL;
_cleanup_free_ struct local_address *addresses = NULL;
- int n_addresses;
+ int n_addresses = 0;
char **module;
int r;