diff options
author | Guillem Jover <guillem@debian.org> | 2008-01-09 06:24:11 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2008-01-16 09:15:03 +0200 |
commit | 02680ecbbbf6da2b023891a11b38ecce5346dbbd (patch) | |
tree | 8e6c7cebb40ce85297bc13e0e68f4213c4a5dcd9 /src/errors.c | |
parent | f52f2a333ef7609ddd7e9cab832f49295ff21dd9 (diff) | |
download | dpkg-02680ecbbbf6da2b023891a11b38ecce5346dbbd.tar.gz |
Use NULL instead of 0
Diffstat (limited to 'src/errors.c')
-rw-r--r-- | src/errors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/errors.c b/src/errors.c index b87d850d9..ab2c9d272 100644 --- a/src/errors.c +++ b/src/errors.c @@ -46,7 +46,7 @@ struct error_report { const char *what; }; -static struct error_report *reports=0; +static struct error_report *reports = NULL; static struct error_report **lastreport= &reports; static struct error_report emergency; @@ -81,7 +81,7 @@ void print_error_perpackage(const char *emsg, const char *arg) { nr= &emergency; } nr->what= arg; - nr->next= 0; + nr->next = NULL; *lastreport= nr; lastreport= &nr->next; |