X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=zpm-findpkg.c;h=b7cb3fdb9272241af642003ad945d28b7632bc0c;hb=db5b9b705b37e49304260cdf78a4422971efed24;hp=68baecad2d6889040ba0788f63eab836bdd7453d;hpb=324303554d33d5a3643fa73ec53c5c41e71cd54a;p=zpackage diff --git a/zpm-findpkg.c b/zpm-findpkg.c index 68baeca..b7cb3fd 100644 --- a/zpm-findpkg.c +++ b/zpm-findpkg.c @@ -6,7 +6,9 @@ static int prow(void *f, int ncols, char **vals, char **cols) { FILE *out = f; int i; - cols = 0; /* suppress warning */ + if (cols == 0) { + fprintf(stderr, "sqlite can't get column names\n"); + } for (i=3;i3) fprintf(out, "\t"); fprintf(out, "%s", vals[i]);