summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pullreqd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pullreqd.c b/pullreqd.c
index 00d72e9..f34dad6 100644
--- a/pullreqd.c
+++ b/pullreqd.c
@@ -196,8 +196,8 @@ void cleanup(config *cfg, int listen_socket, git_repository **repos) {
}
int main(int argc, char **argv) {
- config *cfg;
- git_repository **repos;
+ config *cfg = NULL;
+ git_repository **repos = NULL;
char *config_file = "test.conf";
int config_read = 0;
int listen_socket = -1;