diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-02-25 22:22:41 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-03-13 13:58:45 +0100 |
commit | 67c3067f1a615fd6ff0b332c2a526d052442913d (patch) | |
tree | 6cb34934fefa0e5f88b8c4eacbf98a70ee76525a /cmdline | |
parent | 255c9e4b74fe677d723c51d3450869ad45ca5463 (diff) | |
download | apt-67c3067f1a615fd6ff0b332c2a526d052442913d.tar.gz |
fix -Wmissing-field-initializers warnings
Reported-By: gcc
Git-Dch: Ignore
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc index b8892d23d..22778eb24 100644 --- a/cmdline/apt-cache.cc +++ b/cmdline/apt-cache.cc @@ -532,7 +532,7 @@ bool DumpAvail(CommandLine &Cmd) if ((File->Flags & pkgCache::Flag::NotSource) == pkgCache::Flag::NotSource) { pkgTagSection Tags; - TFRewriteData RW[] = {{"Status",0},{"Config-Version",0},{}}; + TFRewriteData RW[] = {{"Status", NULL, NULL},{"Config-Version", NULL, NULL},{NULL, NULL, NULL}}; const char *Zero = 0; if (Tags.Scan(Buffer+Jitter,VF.Size+1) == false || TFRewrite(stdout,Tags,&Zero,RW) == false) |