2008-04-28 Tollef Fog Heen <tfheen@err.no>

* main.c (main): Make sure log is initialized to prevent
	segfaults.
This commit is contained in:
Tollef Fog Heen 2008-04-28 20:58:36 +02:00
parent 69dafea1c8
commit 5998a08da4
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-04-28 Tollef Fog Heen <tfheen@err.no>
* main.c (main): Make sure log is initialized to prevent
segfaults.
2008-03-23 Tollef Fog Heen <tfheen@err.no>
* check/check-conflicts, check/conflicts-test.pc: New test,

2
main.c
View file

@ -206,7 +206,7 @@ main (int argc, char **argv)
char **search_dirs;
char **iter;
gboolean need_newline;
FILE *log;
FILE *log = NULL;
const char *pkgname;
Package *pkg;