mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-12 04:15:06 -05:00
libalpm/be_local.c: unused variable ent
spotted by clang analyzer Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
This commit is contained in:
parent
ff1974c6e9
commit
272e9b355b
@ -405,7 +405,7 @@ static int local_db_populate(pmdb_t *db)
|
||||
* http://kerneltrap.org/mailarchive/linux-btrfs/2010/1/23/6723483/thread
|
||||
*/
|
||||
est_count = 0;
|
||||
while((ent = readdir(dbdir)) != NULL) {
|
||||
while(readdir(dbdir) != NULL) {
|
||||
est_count++;
|
||||
}
|
||||
rewinddir(dbdir);
|
||||
|
Loading…
Reference in New Issue
Block a user