Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37858768
en ru br
Репозитории ALT
S:2.1.1-alt2.1
5.1: 2.0.0-alt4
4.1: 2.0.0-alt3
4.0: 2.0.0-alt3
3.0: 2.0.0-alt1
www.altlinux.org/Changes

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

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

Патч: xbase-2.1.1-gcc47.patch
Скачать


diff --git a/xbase/bin/dumprecs.cpp b/xbase/bin/dumprecs.cpp
index a5ad188..d79a328 100644
--- a/xbase/bin/dumprecs.cpp
+++ b/xbase/bin/dumprecs.cpp
@@ -73,10 +73,8 @@ int main(int ac,char** av)
      }
 
      std::cout << "\nLoop through forwards...\n";
-     int i = 0;
-     while(i<MyFile.NoOfRecords()) {
+     for (int i = 0; i<MyFile.NoOfRecords(); ++i) {
        MyFile.DumpRecord(i+1);
-       i++;
      }
 
      MyFile.CloseDatabase();	/* close database */
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin