Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37532926
en ru br
Репозитории ALT

Группа :: Разработка/Прочее
Пакет: fossil

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: fossil-2.18-alt1.patch
Скачать


 tools/mkindex.c       | 2 +-
 tools/sqlcompattest.c | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/mkindex.c b/tools/mkindex.c
index 671ce6c..6bcbeb0 100644
--- a/tools/mkindex.c
+++ b/tools/mkindex.c
@@ -314,7 +314,7 @@ void scan_for_default(const char *zLine){
 ** Scan a line for a function that implements a web page or command.
 */
 void scan_for_func(char *zLine){
-  int i,j,k;
+  int i,j=0,k; // fix for [-Werror=maybe-uninitialized]
   char *z;
   int isSetting;
   if( nUsed<=nFixed ) return;
diff --git a/tools/sqlcompattest.c b/tools/sqlcompattest.c
index aa9811f..acfd582 100644
--- a/tools/sqlcompattest.c
+++ b/tools/sqlcompattest.c
@@ -64,7 +64,6 @@ int main(int argc, char **argv){
   int i;
   static const char *zRequiredOpts[] = {
     "ENABLE_FTS4",        /* Required for repository search */
-    "ENABLE_JSON1",       /* Required for the check-in locking protocol */
     "ENABLE_DBSTAT_VTAB", /* Required by /repo-tabsize page */
   };
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin