[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Redundant assignments in parted-1.6.5...

From: Yury Umanets
Subject: Redundant assignments in parted-1.6.5...
Date: Thu, 05 Jun 2003 14:38:48 +0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030523

Hello Andrew,

I have checked parted-1.6.5 with smatch (smatch.sf.net) for possible memory leaks and redundant assignments. I have not found any memory leaks, but found few redundant assignments.

libparted/disk_dos.c:1281 (PedSector cylinder_size = dev->sectors * dev->heads;) libparted/disk_mac.c:872 (PedSector block_size = disk->dev->sector_size / 512;) libparted/fs_ext2/interface.c:59 (PedSector group_size = group_blocks * block_size;)

Apparently they are not finished cleanups or something like this?


Yury Umanets

reply via email to

[Prev in Thread] Current Thread [Next in Thread]