some inits and never read var

This commit is contained in:
Jacek Jendrzej
2017-08-23 12:58:26 +02:00
parent c99486520e
commit ba600f0e5c
8 changed files with 10 additions and 7 deletions

View File

@@ -671,6 +671,7 @@ string COPKGManager::getPkgDescription(std::string pkgName, std::string pkgDesc)
return pkgDesc;
fpos_t fz;
fz.__pos = 0;
fseek(fd, 0, SEEK_END);
fgetpos(fd, &fz);
fseek(fd, 0, SEEK_SET);