X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/51b2a0fc603c8e4fe667bf7a278bd1ce151e38a3..faeb435cab7b41a50c621ef9f96853d15c57d0d8:/ftparchive/override.cc?ds=sidebyside diff --git a/ftparchive/override.cc b/ftparchive/override.cc index d363fd0fe..1288ff133 100644 --- a/ftparchive/override.cc +++ b/ftparchive/override.cc @@ -12,13 +12,14 @@ // Include Files /*{{{*/ #include -#include #include #include #include #include "override.h" + +#include /*}}}*/ // Override::ReadOverride - Read the override file /*{{{*/ @@ -48,7 +49,7 @@ bool Override::ReadOverride(string const &File,bool const &Source) // Strip space leading up to the package name, skip blank lines char *Pkg = Line; for (; isspace(*Pkg) && *Pkg != 0;Pkg++); - if (Pkg == 0) + if (*Pkg == 0) continue; // Find the package and zero..