X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/0418949ebe9fc886e7794fa1de17c8b6c74e65ea..3365521f814647d9e6f2a8beaeab37e3fb0e8342:/ftparchive/override.cc?ds=inline 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..