X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=zpm-findpkg.c;h=b7cb3fdb9272241af642003ad945d28b7632bc0c;hb=84f276b21e57aa8fe1e16d01e75fee1097d5daf8;hp=68baecad2d6889040ba0788f63eab836bdd7453d;hpb=09dde8c2b752ea64d012778ad795b7e70cd9fada;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]);