ソースを参照

fmt can't be const since we free it in the same function

Wichert Akkerman 25 年 前
コミット
342cb40a87
共有2 個のファイルを変更した5 個の追加1 個の削除を含む
  1. 4 0
      ChangeLog
  2. 1 1
      main/query.c

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+Wed Aug  1 15:10:06 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
+
+  * main/query.c: fmt can't be const since we free it in the same function
+
 Tue Jul 31 12:26:41 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
 Tue Jul 31 12:26:41 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
 
 
   * po/de.po: Updated
   * po/de.po: Updated

+ 1 - 1
main/query.c

@@ -380,7 +380,7 @@ void showpackages(const char *const *argv) {
   struct pkginfo **pkgl;
   struct pkginfo **pkgl;
   const char *thisarg;
   const char *thisarg;
   int np, i, found;
   int np, i, found;
-  const struct lstitem* fmt = parseformat(showformat);
+  struct lstitem* fmt = parseformat(showformat);
 
 
   if (!fmt) {
   if (!fmt) {
     nerrs++;
     nerrs++;